Volume backup functional test tweak
Waiting for status in all the wrong places... Change-Id: I531ee6e0c00b623c6fd30d40df1f1f36bf86233f Signed-off-by: Dean Troyer <dtroyer@gmail.com>
This commit is contained in:
parent
c684fd926a
commit
589026cdd4
@ -39,14 +39,15 @@ class VolumeBackupTests(common.BaseVolumeTests):
|
||||
'--size 1 ' +
|
||||
vol_id
|
||||
))
|
||||
self.wait_for_status("volume", vol_id, "available")
|
||||
|
||||
# create a backup
|
||||
backup = json.loads(self.openstack(
|
||||
'volume backup create -f json ' +
|
||||
vol_id
|
||||
))
|
||||
|
||||
self.wait_for_status("volume", vol_id, "available")
|
||||
self.wait_for_status("backup", backup['id'], "available")
|
||||
|
||||
# restore the backup
|
||||
backup_restored = json.loads(self.openstack(
|
||||
'volume backup restore -f json %s %s'
|
||||
|
Loading…
x
Reference in New Issue
Block a user