Fix another test race in test_update_restricted
We fixed 2 tests that were intermittently failing because of timestamp
resolution, but it can happen on the 3rd one as well.
Change-Id: Ic916b79a81000684b04c585eef1227255a949172
Related-Bug: #1554375
diff --git a/functional/test_update_restricted.py b/functional/test_update_restricted.py
index d406b53..7087c0c 100644
--- a/functional/test_update_restricted.py
+++ b/functional/test_update_restricted.py
@@ -73,6 +73,9 @@
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,