Merge "Fix another test race in test_update_restricted"

This commit is contained in:
Jenkins 2016-06-30 21:44:19 +00:00 committed by Gerrit Code Review
commit 3119022a62

View File

@ -73,6 +73,9 @@ class UpdateRestrictedStackTest(functional_base.FunctionalTestsBase):
self._check_for_restriction_reason(resource_events,
reason_update_restrict))
# Ensure the timestamp changes, since this will be very quick
time.sleep(1)
# check update succeeds - with only 'replace' restricted
self.update_stack(stack_identifier, update_template,
env_replace_restrict,