Merge "Fix another test race in test_update_restricted"
This commit is contained in:
commit
3119022a62
@ -73,6 +73,9 @@ class UpdateRestrictedStackTest(functional_base.FunctionalTestsBase):
|
|||||||
self._check_for_restriction_reason(resource_events,
|
self._check_for_restriction_reason(resource_events,
|
||||||
reason_update_restrict))
|
reason_update_restrict))
|
||||||
|
|
||||||
|
# Ensure the timestamp changes, since this will be very quick
|
||||||
|
time.sleep(1)
|
||||||
|
|
||||||
# check update succeeds - with only 'replace' restricted
|
# check update succeeds - with only 'replace' restricted
|
||||||
self.update_stack(stack_identifier, update_template,
|
self.update_stack(stack_identifier, update_template,
|
||||||
env_replace_restrict,
|
env_replace_restrict,
|
||||||
|
Loading…
Reference in New Issue
Block a user