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

Issue 2265593003: [Telemetry] Explictly intialize & clean up network_controller (Closed)

Created:
4 years, 4 months ago by nednguyen(REVIEW IN OTHER ACC)
Modified:
4 years, 4 months ago
Reviewers:
nednguyen
CC:
catapult-reviews_chromium.org, telemetry-reviews_chromium.org, kouhei (in TOK), perezju
Base URL:
https://github.com/catapult-project/catapult.git@master
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

[Telemetry] Explictly initialize & clean up network_controller It turns out that implicitly initialize network controller whenever platform instance is created is a bad idea. Although it's more ergonomic, it hides the responsiblity of call sites to clean up the network_controller (shutting down ts_proxy_server). This CL makes remove implicitly initializing network_controller and requires call sites to be explicit about doing so & clean it up when they finish using network_controller. BUG=catapult:#2584 TBR=sullivan@chromium.org, pmeenan@chromium.org Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/30ce231266c6fb6147bb6df7c56a7eb75c23fccf

Patch Set 1 #

Patch Set 2 : Fix tests #

Patch Set 3 : Fix testRestoreBrowserWithMultipleTabs #

Patch Set 4 : Fix testRestoreBrowserWithMultipleTabs for real #

Patch Set 5 : Fix testRestoreBrowserWithMultipleTabs for real part 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -28 lines) Patch
M telemetry/telemetry/core/network_controller.py View 1 chunk +0 lines, -1 line 0 comments Download
M telemetry/telemetry/internal/browser/browser_unittest.py View 1 2 3 4 4 chunks +28 lines, -18 lines 0 comments Download
M telemetry/telemetry/internal/browser/extension_unittest.py View 1 6 chunks +26 lines, -9 lines 0 comments Download
M telemetry/telemetry/testing/browser_test_case.py View 1 chunk +1 line, -0 lines 0 comments Download
M telemetry/telemetry/testing/serially_executed_browser_test_case.py View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (12 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2265593003/20001
4 years, 4 months ago (2016-08-20 01:34:35 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Android Tryserver on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Android%20Tryserver/builds/936)
4 years, 4 months ago (2016-08-20 01:55:45 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2265593003/40001
4 years, 4 months ago (2016-08-20 02:05:14 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2265593003/60001
4 years, 4 months ago (2016-08-20 02:22:15 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2265593003/80001
4 years, 4 months ago (2016-08-20 02:44:00 UTC) #16
commit-bot: I haz the power
4 years, 4 months ago (2016-08-20 03:35:51 UTC) #18
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698