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

Unified Diff: tools/telemetry/telemetry/core/backends/chrome_inspector/devtools_client_backend.py

Issue 876803002: [Telemetry] Increase the timeout amount for devtool alive check from 0.1s to 30s (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/backends/chrome_inspector/devtools_client_backend.py
diff --git a/tools/telemetry/telemetry/core/backends/chrome_inspector/devtools_client_backend.py b/tools/telemetry/telemetry/core/backends/chrome_inspector/devtools_client_backend.py
index 96356370ddd6586c93f162d4aa1ca2f1d476a823..4dc7f755b5684ff3e83df506e1f0eef14f454bb2 100644
--- a/tools/telemetry/telemetry/core/backends/chrome_inspector/devtools_client_backend.py
+++ b/tools/telemetry/telemetry/core/backends/chrome_inspector/devtools_client_backend.py
@@ -18,9 +18,11 @@ def IsDevToolsAgentAvailable(port):
return _IsDevToolsAgentAvailable(devtools_http.DevToolsHttp(port))
+# TODO(nednguyen): Find a more reliable way to check whether the devtool agent
+# is still alive.
def _IsDevToolsAgentAvailable(devtools_http_instance):
try:
- devtools_http_instance.Request('', timeout=.1)
+ devtools_http_instance.Request('')
nednguyen 2015/01/26 19:08:29 Reviewers: devtools_http.Request(...) set the defa
except devtools_http.DevToolsClientConnectionError:
return False
else:
« 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