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>
This commit is contained in:
Dean Troyer 2019-05-16 07:43:49 -05:00
parent 1bc44fcdc6
commit bb659cf438
1 changed files with 3 additions and 2 deletions

View File

@ -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