summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-16 20:13:39 +0000
committerGerrit Code Review <review@openstack.org>2017-06-16 20:13:39 +0000
commitcd8f14d0b96431afcfc4b7e27e6b719ec873ba2f (patch)
tree987b59a03f6ecf74cc9acc0a01cde0037aceab92
parent747e0291f1b1b24f9ebb3156739b184297dbbffb (diff)
parent93dae2a4487e67473d57420ebbde3afd4c142d84 (diff)
Merge "Add waiter to test_volume_backup_delete"
-rw-r--r--patrole_tempest_plugin/tests/api/volume/test_volumes_backup_rbac.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/patrole_tempest_plugin/tests/api/volume/test_volumes_backup_rbac.py b/patrole_tempest_plugin/tests/api/volume/test_volumes_backup_rbac.py
index 25c8504..2861531 100644
--- a/patrole_tempest_plugin/tests/api/volume/test_volumes_backup_rbac.py
+++ b/patrole_tempest_plugin/tests/api/volume/test_volumes_backup_rbac.py
@@ -100,6 +100,8 @@ class VolumesBackupsRbacTest(rbac_base.BaseVolumeRbacTest):
100 volume_id=self.volume['id'])['backup'] 100 volume_id=self.volume['id'])['backup']
101 self.addCleanup(test_utils.call_and_ignore_notfound_exc, 101 self.addCleanup(test_utils.call_and_ignore_notfound_exc,
102 self.backups_client.delete_backup, backup['id']) 102 self.backups_client.delete_backup, backup['id'])
103 waiters.wait_for_volume_resource_status(self.os_admin.backups_client,
104 backup['id'], 'available')
103 105
104 self.rbac_utils.switch_role(self, toggle_rbac_role=True) 106 self.rbac_utils.switch_role(self, toggle_rbac_role=True)
105 self.backups_client.delete_backup(backup['id']) 107 self.backups_client.delete_backup(backup['id'])