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

Unified Diff: telemetry/telemetry/record_wpr.py

Issue 2453073002: [Telemetry] Move from telemetry WaitFor to py_utils WaitFor (Closed)
Patch Set: [Telemetry] Move from telemetry WaitFor to py_utils WaitFor Created 4 years, 2 months 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 | « telemetry/telemetry/page/cache_temperature.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/record_wpr.py
diff --git a/telemetry/telemetry/record_wpr.py b/telemetry/telemetry/record_wpr.py
index 8b73640eff4b29dd0eb9eeb1f008526ae5e4c6a4..b7dd7592fad3b3cd088ee1b5c0fe7c6930c24886 100644
--- a/telemetry/telemetry/record_wpr.py
+++ b/telemetry/telemetry/record_wpr.py
@@ -9,7 +9,6 @@ import sys
from telemetry import benchmark
from telemetry import story
from telemetry.core import discover
-from telemetry.core import util
from telemetry.internal.browser import browser_options
from telemetry.internal.results import results_options
from telemetry.internal import story_runner
@@ -20,6 +19,8 @@ from telemetry.util import wpr_modes
from telemetry.web_perf import timeline_based_measurement
from telemetry.web_perf import timeline_based_page_test
+import py_utils
+
DEFAULT_LOG_FORMAT = (
'(%(levelname)s) %(asctime)s %(module)s.%(funcName)s:%(lineno)d '
'%(message)s')
@@ -52,7 +53,7 @@ class RecorderPageTest(legacy_page_test.LegacyPageTest):
if self.page_test:
self.page_test.DidNavigateToPage(page, tab)
tab.WaitForDocumentReadyStateToBeComplete()
- util.WaitFor(tab.HasReachedQuiescence, 30)
+ py_utils.WaitFor(tab.HasReachedQuiescence, 30)
def CleanUpAfterPage(self, page, tab):
if self.page_test:
« no previous file with comments | « telemetry/telemetry/page/cache_temperature.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698