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

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

Issue 927423002: [telemetry] Fix InspectorPage.CollectGarbage to actually collect garbage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove brackets Created 5 years, 10 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/inspector_page.py
diff --git a/tools/telemetry/telemetry/core/backends/chrome_inspector/inspector_page.py b/tools/telemetry/telemetry/core/backends/chrome_inspector/inspector_page.py
index b28a9863d0675e21fe734e0aacae03482e96da6c..be9a21b00a00b2cff37a6793ce0cbe3a96c89ceb 100644
--- a/tools/telemetry/telemetry/core/backends/chrome_inspector/inspector_page.py
+++ b/tools/telemetry/telemetry/core/backends/chrome_inspector/inspector_page.py
@@ -155,6 +155,7 @@ class InspectorPage(object):
def CollectGarbage(self, timeout=60):
request = {
- 'method': 'HeapProfiler.CollectGarbage'
+ 'method': 'HeapProfiler.collectGarbage'
}
- self._inspector_websocket.SyncRequest(request, timeout)
+ res = self._inspector_websocket.SyncRequest(request, timeout)
+ assert 'result' in res
« 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