diff options
-rw-r--r-- | ceilometer/tests/tempest/scenario/test_object_storage_telemetry_middleware.py | 12 | ||||
-rw-r--r-- | requirements.txt | 2 | ||||
-rw-r--r-- | test-requirements.txt | 1 |
3 files changed, 9 insertions, 6 deletions
diff --git a/ceilometer/tests/tempest/scenario/test_object_storage_telemetry_middleware.py b/ceilometer/tests/tempest/scenario/test_object_storage_telemetry_middleware.py index 0d99ee35..f0c97b08 100644 --- a/ceilometer/tests/tempest/scenario/test_object_storage_telemetry_middleware.py +++ b/ceilometer/tests/tempest/scenario/test_object_storage_telemetry_middleware.py @@ -17,6 +17,7 @@ from oslo_log import log as logging from tempest.common.utils import data_utils from tempest import config +from tempest.lib.common.utils import test_utils from tempest import test from ceilometer.tests.tempest.service import client @@ -113,11 +114,12 @@ class TestObjectStorageTelemetry(test.BaseTestCase): return (container_name in containers and obj_name in objects) - self.assertTrue(test.call_until_true(_check_samples, - NOTIFICATIONS_WAIT, - NOTIFICATIONS_SLEEP), - 'Correct notifications were not received after ' - '%s seconds.' % NOTIFICATIONS_WAIT) + self.assertTrue( + test_utils.call_until_true(_check_samples, + NOTIFICATIONS_WAIT, + NOTIFICATIONS_SLEEP), + 'Correct notifications were not received after ' + '%s seconds.' % NOTIFICATIONS_WAIT) def create_container(self): name = data_utils.rand_name('swift-scenario-container') diff --git a/requirements.txt b/requirements.txt index a0fbf4f1..058ceaba 100644 --- a/requirements.txt +++ b/requirements.txt @@ -22,7 +22,7 @@ oslo.service>=1.0.0 # Apache-2.0 PasteDeploy>=1.5.0 # MIT pbr>=1.6 # Apache-2.0 pecan>=1.0.0 # BSD -oslo.messaging>=4.0.0 # Apache-2.0 +oslo.messaging>=4.0.0,<=5.17.1 # Apache-2.0 oslo.middleware>=3.0.0 # Apache-2.0 oslo.serialization>=1.10.0 # Apache-2.0 oslo.utils>=3.5.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 1989202f..4a312a27 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -34,4 +34,5 @@ testtools>=1.4.0 # MIT gabbi>=1.11.0 # Apache-2.0 requests-aws>=0.1.4 # BSD License (3 clause) tempest-lib>=0.14.0 # Apache-2.0 +tempest>=14.0.0 # Apache-2.0 WebTest>=2.0 # MIT |