Add wait_secs to test_stack_update_from_failed_patch

Add a 1 second pause to test_stack_update_from_failed_patch.  If a stack is
updated more than once per second, there is a possibility for busy waiting if
_verify_status neither returns nor raises an exception.

Please see
https://github.com/openstack/heat/blob/master/heat_integrationtests/common/test.py#L277
for _verify_status.

Closes bug: 1583630

Change-Id: Ifa9a5e9d69b47fe07fbc9ffcbe8f03479a24bb6c
This commit is contained in:
Jaime Guerrero 2016-05-23 21:31:43 +00:00
parent a2120c61d7
commit 4c4301fbe0
1 changed files with 1 additions and 0 deletions

View File

@ -150,6 +150,7 @@ resources:
properties:
value: Test
fail: {get_param: do_fail}
wait_secs: 1
'''
def setUp(self):