Merge "Tests: Fix PrivRootwrapTestCase failure"

This commit is contained in:
Zuul 2018-12-05 21:23:52 +00:00 committed by Gerrit Code Review
commit 83f263ccf1
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ class PrivRootwrapTestCase(base.TestCase):
interval=2, backoff_rate=3, attempts=3,
on_execute=on_execute, on_completion=on_completion)
t1 = time.time()
self.assertLess(t1 - t0, 0.3)
self.assertLess(t1 - t0, 0.6)
sleep_mock.assert_has_calls([mock.call(0), mock.call(6), mock.call(0),
mock.call(18), mock.call(0)])
expected_calls = [mock.call(args[0][0])