diff options
| author | Victor Sergeyev <vsergeyev@mirantis.com> | 2013-06-27 15:21:20 +0300 |
|---|---|---|
| committer | Victor Sergeyev <vsergeyev@mirantis.com> | 2013-06-27 17:03:49 +0300 |
| commit | 5e85080ffa782b2bc0beac10e64b147f014edd47 (patch) | |
| tree | 872f0f0efccdaadfba96facab7d02ea2c8cde09a | |
| parent | 42931aaee80a18c855a4b350342f7aa376eb024c (diff) | |
| download | oslo-5e85080ffa782b2bc0beac10e64b147f014edd47.tar.gz oslo-5e85080ffa782b2bc0beac10e64b147f014edd47.tar.xz oslo-5e85080ffa782b2bc0beac10e64b147f014edd47.zip | |
Fix tox.ini config
We found that if tests run with testr --subunit option it can cause
wrong implementation of tests results.
Change-Id: I98c3f3ed90e2291ef984f07a93c89d24da7855d9
| -rw-r--r-- | tests/unit/rpc/test_kombu.py | 1 | ||||
| -rw-r--r-- | tox.ini | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/rpc/test_kombu.py b/tests/unit/rpc/test_kombu.py index 372b925..c8c3f32 100644 --- a/tests/unit/rpc/test_kombu.py +++ b/tests/unit/rpc/test_kombu.py @@ -81,6 +81,7 @@ class KombuStubs(fixtures.Fixture): test = self.test() if kombu: + test.conf = FLAGS test.config(fake_rabbit=True) test.config(rpc_response_timeout=5) test.rpc = impl_kombu @@ -9,7 +9,7 @@ deps = -r{toxinidir}/requirements.txt commands = python tools/patch_tox_venv.py # due to dependencies between tests (bug 1192207) we use `--concurrency=1` option - python setup.py testr --slowest --testr-args='--subunit --concurrency=1 {posargs}' + python setup.py testr --slowest --testr-args='--concurrency=1 {posargs}' [flake8] show-source = True |
