Commit cd3fad15 authored by Mikhail Khokhlov's avatar Mikhail Khokhlov Committed by Commit Bot

[tools/perf] Remove support for obsolete 'artifacts' field

Bug: 1011813
Change-Id: I189ba4170b762e28a2de6e42969e0f2bf778d959
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1856518Reviewed-by: default avatarJuan Antonio Navarro Pérez <perezju@chromium.org>
Commit-Queue: Mikhail Khokhlov <khokhlov@google.com>
Cr-Commit-Position: refs/heads/master@{#705913}
parent 9ea7417b
...@@ -96,10 +96,6 @@ def _LoadIntermediateResults(intermediate_file): ...@@ -96,10 +96,6 @@ def _LoadIntermediateResults(intermediate_file):
results['benchmarkRun'].update(record['benchmarkRun']) results['benchmarkRun'].update(record['benchmarkRun'])
if 'testResult' in record: if 'testResult' in record:
test_result = record['testResult'] test_result = record['testResult']
# TODO(crbug.com/1011813): This is for compatibility with old version
# of LUCI format. Remove it when Telemetry switches to a new version.
if 'artifacts' in test_result:
test_result['outputArtifacts'] = test_result.pop('artifacts')
results['testResults'].append(test_result) results['testResults'].append(test_result)
return results return results
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment