summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorDean Troyer <dtroyer@gmail.com>2019-05-16 07:43:49 -0500
committerDean Troyer <dtroyer@gmail.com>2019-05-16 07:43:55 -0500
commitbb659cf438dd22fa06a31d23c4f30c30f2a3376c (patch)
tree867a481eeea035281d42310cb4d0276bbdb3d15a /openstackclient
parent1bc44fcdc6c96bbffdd70c57f6cb11b5c1278071 (diff)
downloadpython-openstackclient-bb659cf438dd22fa06a31d23c4f30c30f2a3376c.tar.gz
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>
Diffstat (limited to 'openstackclient')
-rw-r--r--openstackclient/tests/functional/compute/v2/test_aggregate.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/openstackclient/tests/functional/compute/v2/test_aggregate.py b/openstackclient/tests/functional/compute/v2/test_aggregate.py
index 71026757..590d28cb 100644
--- a/openstackclient/tests/functional/compute/v2/test_aggregate.py
+++ b/openstackclient/tests/functional/compute/v2/test_aggregate.py
@@ -54,9 +54,10 @@ class AggregateTests(base.TestCase):
# Loop a few times since this is timing-sensitive
# Just hard-code it for now, since there is no pause and it is
- # racy we shouldn't have to wait too long, a minute seems reasonable
+ # racy we shouldn't have to wait too long, a minute or two
+ # seems reasonable
wait_time = 0
- while wait_time < 60:
+ while wait_time <= 120:
cmd_output = json.loads(self.openstack(
'aggregate show -f json ' +
name2