summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2022-08-23 07:20:00 +0000
committerGerrit Code Review <review@openstack.org>2022-08-23 07:20:00 +0000
commitea4cdf474c166073934ff36029e54408bdd34b80 (patch)
tree441cbb39d1a02607b1c1b21c155d7ebb90bb9c1e
parentd8cc723490115de282456637736c2a83adabb355 (diff)
parente340a8cf838e890191700972d7b79117689816d9 (diff)
downloadglance_store-ea4cdf474c166073934ff36029e54408bdd34b80.tar.gz
Merge "Tests: Mock sleep in cinder test_attachment_create_retries"4.1.0
-rw-r--r--glance_store/tests/unit/common/test_cinder_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/glance_store/tests/unit/common/test_cinder_utils.py b/glance_store/tests/unit/common/test_cinder_utils.py
index 2f68afb..a7d982f 100644
--- a/glance_store/tests/unit/common/test_cinder_utils.py
+++ b/glance_store/tests/unit/common/test_cinder_utils.py
@@ -74,6 +74,7 @@ class CinderUtilsTestCase(base.BaseTestCase):
self.volume_api.attachment_create,
self.fake_client, self.fake_vol_id)
+ @mock.patch('time.sleep', new=mock.Mock())
def test_attachment_create_retries(self):
fake_attach_id = 'fake-attach-id'