RETIRED, Tempest Plugin for Congress project
Go to file
Eric K df0b7e5737 Resolve test_datasource_db_sync_add_remove instability
Configure the replica server in the test to use a short PRC timeout.
The instability appears to arise as follows.
In starting the replica Congress instance:
If Congress API process starts before Congress policy engine process,
the call to check Congress started is processed by the API process,
which makes an RPC call to the policy engine process.
But the policy engine process may be a bit slower to start.
In that case, the RPC call may never reach the policy engine process
even if the policy engine process starts up just a few seconds later.
So the call times out according to the default 60 seconds, by which
point the entire retry period of the test is used up and the test
fails.

In this fix, the RPC timeout is set to a short 10 seconds on the
replica instance. That way, if the policy engine has not started
by the time of the first RPC call, the RPC call would time out with
time remaining on the test retry period for further retry.

The test retry period is also increased because occassionally the
replica policy engine takes longer than the allotted 60s to start up.

Change-Id: Ied8c95c4a60a3b6ea2c617fdfe94d4d7cf7a5822
2019-02-19 23:05:21 +00:00
congress_tempest_plugin Resolve test_datasource_db_sync_add_remove instability 2019-02-19 23:05:21 +00:00
doc/source Initial CookieCutter commit 2017-12-04 11:06:55 +05:30
playbooks/legacy disable murano scenario test in queens-py35 job 2019-02-19 21:09:10 +00:00
releasenotes Initial CookieCutter commit 2017-12-04 11:06:55 +05:30
.gitignore Initial setup changes of congress-tempest-plugin 2018-01-04 11:31:41 +00:00
.gitreview Initial setup changes of congress-tempest-plugin 2018-01-04 11:31:41 +00:00
.zuul.yaml Update CI jobs in sync with migration in congress repo 2019-01-17 17:11:06 -08:00
CONTRIBUTING.rst Initial CookieCutter commit 2017-12-04 11:06:55 +05:30
HACKING.rst Initial CookieCutter commit 2017-12-04 11:06:55 +05:30
LICENSE Initial CookieCutter commit 2017-12-04 11:06:55 +05:30
README.rst Add release notes link to README 2018-06-13 02:12:51 -07:00
__init__.py Change to use tempest plugin framework 2015-09-21 15:29:12 +08:00
babel.cfg Initial CookieCutter commit 2017-12-04 11:06:55 +05:30
requirements.txt Updated from global requirements 2018-03-25 22:20:10 +00:00
setup.cfg Update home-page 2019-02-07 22:29:33 +00:00
setup.py Updated from global requirements 2018-01-08 12:48:07 +00:00
test-requirements.txt Update hacking version 2019-01-22 04:54:12 +00:00
tox.ini Update hacking version 2019-01-22 04:54:12 +00:00

README.rst

congress-tempest-plugin

Tempest Plugin for Congress project. This project covers Tempest tests for Congress project.

Tempest Integration

To list all Congress tempest cases, go to tempest directory, then run:

$ testr list-tests congress

To run congress tempest plugin tests using tox, go to tempest directory, then run:

$ tox -eall-plugin congress

And, to run a specific test:

$ tox -eall-plugin congress_tempest_plugin.tests.scenario.test_congress_basic_ops.TestPolicyBasicOps.test_policy_basic_op