[web_tests][resultdb] set testLocation when report a result to rdb-sink
Chromium-deriver is a tool that parses the isolate output of a test run, and uploads the test results to ResultDB. Chromium-deriver is currently being used in chromium recipes to upload the test results of Swarming Tasks to ResultDB, and it has a hard-coded path for blink_web_tests. : https://source.chromium.org/chromium/infra/infra/+/master:go/src/go.chromium.org/luci/resultdb/internal/services/deriver/swarming.go;l=190-191 : https://source.chromium.org/chromium/infra/infra/+/master:go/src/go.chromium.org/luci/resultdb/internal/services/deriver/formats/json.go;l=357-359 This CL is to copy the same logic to test_result_sink.py so that run_web_tests.py with `rdb stream` will generate and upload the same test results that chromum-deriver uploads for blink_web_tests. R=robertma@chromium.org CC=chanli@chromium.org,iannucci@chromium.org,nodir@chromium.org Bug: 1108016 Change-Id: Ia31bf3435ca9fab70359c64d8485dcd2397c1c07 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2425750Reviewed-by:Chan Li <chanli@chromium.org> Reviewed-by:
Robert Ma <robertma@chromium.org> Commit-Queue: Scott Lee <ddoman@chromium.org> Cr-Commit-Position: refs/heads/master@{#810326}
Showing
Please register or sign in to comment