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

Unified Diff: tools/isolateserver_load_test.py

Issue 25478010: Add ThreadPool.abort() to stop processing early. (Closed) Base URL: https://chromium.googlesource.com/a/chromium/tools/swarm_client@master
Patch Set: Add TODO Created 7 years, 2 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 | « tests/threading_utils_test.py ('k') | tools/run_swarm_tests_on_swarm.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/isolateserver_load_test.py
diff --git a/tools/isolateserver_load_test.py b/tools/isolateserver_load_test.py
index f94c74de21016474488d70902d70dc64f6c5cd20..a8fdf058f176ba3bfedbfc930cc83d32c95c54ac 100755
--- a/tools/isolateserver_load_test.py
+++ b/tools/isolateserver_load_test.py
@@ -57,10 +57,10 @@ class Progress(threading_utils.Progress):
self.total = 0
def increment_index(self, name):
- self.update_item(name, index=True)
+ self.update_item(name, index=1)
def increment_count(self):
- self.update_item('', size=True)
+ self.update_item('', size=1)
def gen_line(self, name):
"""Generates the line to be printed.
« no previous file with comments | « tests/threading_utils_test.py ('k') | tools/run_swarm_tests_on_swarm.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698