summaryrefslogtreecommitdiff
path: root/cinderclient/tests/functional/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'cinderclient/tests/functional/base.py')
-rw-r--r--cinderclient/tests/functional/base.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/cinderclient/tests/functional/base.py b/cinderclient/tests/functional/base.py
index 349bd1e..3d2e2f8 100644
--- a/cinderclient/tests/functional/base.py
+++ b/cinderclient/tests/functional/base.py
@@ -156,7 +156,9 @@ class ClientTestBase(base.ClientTestBase):
output = self.cinder(cmd, params=params)
object = self._get_property_from_output(output)
self.addCleanup(self.object_delete, object_name, object['id'])
- self.wait_for_object_status(object_name, object['id'], 'available')
+ if object_name in ('volume', 'snapshot', 'backup'):
+ self.wait_for_object_status(
+ object_name, object['id'], 'available')
return object
def object_delete(self, object_name, object_id):