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

Unified Diff: tools/testrunner/local/execution.py

Issue 1064043002: Make test runner more chatty to avoid it getting killed by buildbot. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: ... Created 5 years, 8 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 | tools/testrunner/local/pool.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testrunner/local/execution.py
diff --git a/tools/testrunner/local/execution.py b/tools/testrunner/local/execution.py
index 5c5fbac969376e18f11fca898239ab42d90e2b6b..35e0efe7cfed032be4601bae3f9efcdf2b5d8755 100644
--- a/tools/testrunner/local/execution.py
+++ b/tools/testrunner/local/execution.py
@@ -230,11 +230,14 @@ class Runner(object):
try:
it = pool.imap_unordered(RunTest, queue)
for result in it:
- test = test_map[result[0]]
+ if result.heartbeat:
+ self.indicator.Heartbeat()
+ continue
+ test = test_map[result.value[0]]
if self.context.predictable:
- update_perf = self._ProcessTestPredictable(test, result, pool)
+ update_perf = self._ProcessTestPredictable(test, result.value, pool)
else:
- update_perf = self._ProcessTestNormal(test, result, pool)
+ update_perf = self._ProcessTestNormal(test, result.value, pool)
if update_perf:
self._RunPerfSafe(lambda: self.perfdata.UpdatePerfData(test))
finally:
« no previous file with comments | « no previous file | tools/testrunner/local/pool.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698