Add tempest and cap oslo.messaging/tempest version
Cap oslo.messaging to 5.17.1, the latest version has been deprecated notifer 'topic' which takes issues in ceilometer mitaka version. add tempest to test-requirements.txt Closes-Bug: #1573654 (cherry picked from commitbe8c615bb0
) Cap tempest to 12.2.0 as the call_until_true has been deprecated after 13.0.0. test.call_until_true has been deprecated since Newton on Tempest side, and now Tempest provides test_utils.call_until_true as the stable library method. So this patch switches to use the stable method before removing old test.call_until_true on Tempest side. (cherry picked from commitd46c28b30c
) Change-Id: I7e18b14c6dcfc21e47b0e90ebd2fc17936377c25
This commit is contained in:
parent
b9b1fb5e88
commit
e18f209944
|
@ -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')
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue