Skip to content

Commit f533dca

Browse files
committed
Fix volume set functional test
Sometimes it can happen that when extending a volume it is shown as status "extending" with the original size for a while. Wait for the volume to enter state "available" again before checking the result. Signed-off-by: Dr. Jens Harbott <harbott@osism.tech> Change-Id: Ib70cfa1c241ce94426214c7a05c550213f427caa
1 parent b79c0b6 commit f533dca

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

openstackclient/tests/functional/volume/v3/test_volume.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ def test_volume_set_and_unset(self):
152152
name,
153153
)
154154
self.assertOutput('', raw_output)
155+
self.wait_for_status("volume", new_name, "available")
155156

156157
cmd_output = json.loads(self.openstack(
157158
'volume show -f json ' +

0 commit comments

Comments
 (0)