Skip to content

Commit bb659cf

Browse files
author
Dean Troyer
committed
Aggregate functional test tweak
This seems to still be racy, lengthen the timeout to wait for agregate creation. Change-Id: I3601c5baee03745ae21714b9dff0e278ad016877 Signed-off-by: Dean Troyer <dtroyer@gmail.com>
1 parent 1bc44fc commit bb659cf

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

openstackclient/tests/functional/compute/v2/test_aggregate.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,10 @@ def test_aggregate_create_and_delete(self):
5454

5555
# Loop a few times since this is timing-sensitive
5656
# Just hard-code it for now, since there is no pause and it is
57-
# racy we shouldn't have to wait too long, a minute seems reasonable
57+
# racy we shouldn't have to wait too long, a minute or two
58+
# seems reasonable
5859
wait_time = 0
59-
while wait_time < 60:
60+
while wait_time <= 120:
6061
cmd_output = json.loads(self.openstack(
6162
'aggregate show -f json ' +
6263
name2

0 commit comments

Comments
 (0)