Skip to content

Commit ee193e6

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Volume backup functional test tweak"
2 parents c53de32 + 589026c commit ee193e6

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

openstackclient/tests/functional/volume/v2/test_backup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,15 @@ def test_volume_backup_restore(self):
3939
'--size 1 ' +
4040
vol_id
4141
))
42+
self.wait_for_status("volume", vol_id, "available")
43+
4244
# create a backup
4345
backup = json.loads(self.openstack(
4446
'volume backup create -f json ' +
4547
vol_id
4648
))
47-
48-
self.wait_for_status("volume", vol_id, "available")
4949
self.wait_for_status("backup", backup['id'], "available")
50+
5051
# restore the backup
5152
backup_restored = json.loads(self.openstack(
5253
'volume backup restore -f json %s %s'

0 commit comments

Comments
 (0)