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

Unified Diff: telemetry/telemetry/testing/serially_executed_browser_test_case.py

Issue 3002983002: Support .wprgo format in SeriallyExecutedBrowserTestCase. (Closed)
Patch Set: Created 3 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/testing/serially_executed_browser_test_case.py
diff --git a/telemetry/telemetry/testing/serially_executed_browser_test_case.py b/telemetry/telemetry/testing/serially_executed_browser_test_case.py
index bd24ddb11b3d0c3670d0a56d8d98d6cacb70b162..26d1e251fef776f292b828bc0587dd990a961453 100644
--- a/telemetry/telemetry/testing/serially_executed_browser_test_case.py
+++ b/telemetry/telemetry/testing/serially_executed_browser_test_case.py
@@ -91,7 +91,9 @@ class SeriallyExecutedBrowserTestCase(unittest.TestCase):
assert not cls.browser, 'WPR must be started prior to browser being started'
cloud_storage.GetIfChanged(archive_path, archive_bucket)
- cls.platform.network_controller.Open(wpr_modes.WPR_REPLAY, [])
+ use_wpr_go = archive_path.endswith('.wprgo')
+ cls.platform.network_controller.Open(wpr_modes.WPR_REPLAY, [],
+ use_wpr_go=use_wpr_go)
cls.platform.network_controller.StartReplay(archive_path=archive_path)
@classmethod
« 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