Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Unified Diff: tools/telemetry/telemetry/page/actions/wait_unittest.py

Issue 61213007: [telemetry] Relax timing check in wait_unittest.testWaitAction. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/page/actions/wait_unittest.py
diff --git a/tools/telemetry/telemetry/page/actions/wait_unittest.py b/tools/telemetry/telemetry/page/actions/wait_unittest.py
index 9fac1762b33328b7b1b966eb071dfe7dce2fbfbf..8787f6c04b35ecdc27a73f99235f8d7aa56a8658 100644
--- a/tools/telemetry/telemetry/page/actions/wait_unittest.py
+++ b/tools/telemetry/telemetry/page/actions/wait_unittest.py
@@ -22,7 +22,7 @@ class WaitActionTest(tab_test_case.TabTestCase):
start_time = time.time()
i.RunAction(None, self._tab, None)
- self.assertAlmostEqual(time.time() - start_time, 1, places=1)
+ self.assertTrue(time.time() - start_time >= 1.0)
def testWaitActionTimeout(self):
wait_action = wait.WaitAction({
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698