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

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

Issue 456483002: Add support for uploading results to the flakiness dashboard (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove retry logic from upload 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 570aa359added1b938b437b5c1204d973df98faf..9de9089a133b177af5d9416081cbf391dd1b0d40 100644
--- a/tools/telemetry/telemetry/unittest/run_tests.py
+++ b/tools/telemetry/telemetry/unittest/run_tests.py
@@ -170,6 +170,13 @@ class RunTestsCommand(command_line.OptparseCommand):
full_results = json_results.FullResults(args, test_suite, results)
json_results.WriteFullResultsIfNecessary(args, full_results)
+ err_occurred, err_str = json_results.UploadFullResultsIfNecessary(
+ args, full_results)
+ if err_occurred:
+ for line in err_str.splitlines():
+ logging.error(line)
+ return 1
+
return json_results.ExitCodeFromFullResults(full_results)
def RunOneSuite(self, possible_browser, args):
« 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