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

Unified Diff: tools/telemetry/telemetry/unittest/run_tests.py

Issue 515263003: [telemetry] Retry unit tests after failures in setUpClass and setUpModule. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dpranke comments Created 6 years, 4 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/unittest/json_results.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/unittest/run_tests.py
diff --git a/tools/telemetry/telemetry/unittest/run_tests.py b/tools/telemetry/telemetry/unittest/run_tests.py
index 92c2c336d826f75e26680660317e7f91b92515f7..de825d27986eebf83bdbcc3e27918b1495404b9c 100644
--- a/tools/telemetry/telemetry/unittest/run_tests.py
+++ b/tools/telemetry/telemetry/unittest/run_tests.py
@@ -168,7 +168,7 @@ class RunTestsCommand(command_line.OptparseCommand):
results = [result]
- failed_tests = json_results.FailedTestNames(result)
+ failed_tests = json_results.FailedTestNames(test_suite, result)
retry_limit = args.retry_limit
while retry_limit and failed_tests:
@@ -178,7 +178,7 @@ class RunTestsCommand(command_line.OptparseCommand):
_, result = self.RunOneSuite(possible_browser, args)
results.append(result)
- failed_tests = json_results.FailedTestNames(result)
+ failed_tests = json_results.FailedTestNames(test_suite, result)
retry_limit -= 1
full_results = json_results.FullResults(args, test_suite, results)
« no previous file with comments | « tools/telemetry/telemetry/unittest/json_results.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698