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

Unified Diff: telemetry/telemetry/page/cache_temperature.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/internal/util/wpr_server.py ('k') | telemetry/telemetry/record_wpr.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/page/cache_temperature.py
diff --git a/telemetry/telemetry/page/cache_temperature.py b/telemetry/telemetry/page/cache_temperature.py
index 7d1f98194600667474a72e96043f78c3530969fb..f7d09b4f9ac52d0907ccc26845789ec31d33dc5d 100644
--- a/telemetry/telemetry/page/cache_temperature.py
+++ b/telemetry/telemetry/page/cache_temperature.py
@@ -11,7 +11,8 @@ https://docs.google.com/document/u/1/d/12D7tkhZi887g9d0U2askU9JypU_wYiEI7Lw0bfwx
"""
import logging
-from telemetry.core import util
+
+import py_utils
# Default Cache Temperature. The page doesn't care which browser cache state
# it is run on.
@@ -85,7 +86,7 @@ def EnsurePageCacheTemperature(page, browser, previous_page=None):
with MarkTelemetryInternal(browser, 'warmCache'):
tab = browser.tabs[0]
tab.Navigate(page.url)
- util.WaitFor(tab.HasReachedQuiescence, 60)
+ py_utils.WaitFor(tab.HasReachedQuiescence, 60)
tab.WaitForDocumentReadyStateToBeComplete()
tab.Navigate("about:blank")
tab.WaitForDocumentReadyStateToBeComplete()
« no previous file with comments | « telemetry/telemetry/internal/util/wpr_server.py ('k') | telemetry/telemetry/record_wpr.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698