summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-18 21:55:12 +0000
committerdpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-18 21:56:45 +0000
commit813ad2edb6d6cbb990bbef21ef1005ccfdbffb77 (patch)
tree843437dd7c948e692bfaf44a28667fd1e9f0a969
parent90397627346927eb6f5d378cedb78ff9ae4ad1a9 (diff)
downloadchromium_src-813ad2edb6d6cbb990bbef21ef1005ccfdbffb77.zip
chromium_src-813ad2edb6d6cbb990bbef21ef1005ccfdbffb77.tar.gz
chromium_src-813ad2edb6d6cbb990bbef21ef1005ccfdbffb77.tar.bz2
Re-enable uploading flakiness data from telemetry*unittests.
This was previously disabled due to a bug in the flakiness dashboard server code, but that has been fixed and we think this should work now. TBR=ojan@chromium.org, tonyg@chromium.org, dtu@chromium.org BUG=323212 Review URL: https://codereview.chromium.org/479753002 Cr-Commit-Position: refs/heads/master@{#290369} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290369 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--tools/telemetry/telemetry/unittest/json_results.py17
1 files changed, 7 insertions, 10 deletions
diff --git a/tools/telemetry/telemetry/unittest/json_results.py b/tools/telemetry/telemetry/unittest/json_results.py
index b2f9989..c03432e 100644
--- a/tools/telemetry/telemetry/unittest/json_results.py
+++ b/tools/telemetry/telemetry/unittest/json_results.py
@@ -54,19 +54,16 @@ def WriteFullResultsIfNecessary(args, full_results):
fp.write("\n")
-def UploadFullResultsIfNecessary(args, _full_results):
+def UploadFullResultsIfNecessary(args, full_results):
if not args.test_results_server:
return False, ''
- # TODO(dpranke) crbug.com/403663 disable this temporarily.
- return False, ''
-
- #url = 'http://%s/testfile/upload' % args.test_results_server
- #attrs = [('builder', args.builder_name),
- # ('master', args.master_name),
- # ('testtype', args.test_type)]
- #content_type, data = _EncodeMultiPartFormData(attrs, full_results)
- #return _UploadData(url, data, content_type)
+ url = 'http://%s/testfile/upload' % args.test_results_server
+ attrs = [('builder', args.builder_name),
+ ('master', args.master_name),
+ ('testtype', args.test_type)]
+ content_type, data = _EncodeMultiPartFormData(attrs, full_results)
+ return _UploadData(url, data, content_type)
TEST_SEPARATOR = '.'