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

Unified Diff: tools/telemetry/telemetry/temporary_http_server.py

Issue 11348217: [telemetry] Removing flake in wpr_server.py caused by static port assignment from chrome/test/funct… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move away from pylib Created 7 years, 11 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 | « tools/telemetry/telemetry/cros_interface_unittest.py ('k') | tools/telemetry/telemetry/wpr_server.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/temporary_http_server.py
diff --git a/tools/telemetry/telemetry/temporary_http_server.py b/tools/telemetry/telemetry/temporary_http_server.py
index 59edbd28c8737490cfffc3a9d9087d785a2e2bd3..561d8f408708f53448c5c0d4060a39902b72bacb 100644
--- a/tools/telemetry/telemetry/temporary_http_server.py
+++ b/tools/telemetry/telemetry/temporary_http_server.py
@@ -28,7 +28,8 @@ class TemporaryHTTPServer(object):
stdout=self._devnull, stderr=self._devnull)
self._forwarder = browser_backend.CreateForwarder(
- util.PortPair(self._host_port, None))
+ util.PortPair(self._host_port,
+ browser_backend.GetRemotePort(self._host_port)))
def IsServerUp():
return not socket.socket().connect_ex(('localhost', self._host_port))
« no previous file with comments | « tools/telemetry/telemetry/cros_interface_unittest.py ('k') | tools/telemetry/telemetry/wpr_server.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698