Commit 64e7ca56 authored by Takuto Ikuta's avatar Takuto Ikuta Committed by Commit Bot

testing: update reference to swarming client in merge scripts

python client is being deprecated.

Bug: 984869
Change-Id: I43f7a74e1d5a108b378748a7a89f23ced37eb417
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2033005
Commit-Queue: John Budorick <jbudorick@chromium.org>
Reviewed-by: default avatarJohn Budorick <jbudorick@chromium.org>
Auto-Submit: Takuto Ikuta <tikuta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#737343}
parent 6f908765
...@@ -42,7 +42,7 @@ def merge_shard_results(summary_json, jsons_to_merge): ...@@ -42,7 +42,7 @@ def merge_shard_results(summary_json, jsons_to_merge):
Returns dict with merged test output on success or None on failure. Emits Returns dict with merged test output on success or None on failure. Emits
annotations. annotations.
""" """
# summary.json is produced by swarming.py itself. We are mostly interested # summary.json is produced by swarming client itself. We are mostly interested
# in the number of shards. # in the number of shards.
try: try:
with open(summary_json) as f: with open(summary_json) as f:
......
...@@ -20,7 +20,7 @@ def StandardIsolatedScriptMerge(output_json, summary_json, jsons_to_merge): ...@@ -20,7 +20,7 @@ def StandardIsolatedScriptMerge(output_json, summary_json, jsons_to_merge):
written. written.
jsons_to_merge: A list of paths to JSON files that should be merged. jsons_to_merge: A list of paths to JSON files that should be merged.
""" """
# summary.json is produced by swarming.py itself. We are mostly interested # summary.json is produced by swarming client itself. We are mostly interested
# in the number of shards. # in the number of shards.
try: try:
with open(summary_json) as f: with open(summary_json) as f:
...@@ -28,7 +28,7 @@ def StandardIsolatedScriptMerge(output_json, summary_json, jsons_to_merge): ...@@ -28,7 +28,7 @@ def StandardIsolatedScriptMerge(output_json, summary_json, jsons_to_merge):
except (IOError, ValueError): except (IOError, ValueError):
print >> sys.stderr, ( print >> sys.stderr, (
'summary.json is missing or can not be read', 'summary.json is missing or can not be read',
'Something is seriously wrong with swarming_client/ or the bot.') 'Something is seriously wrong with swarming client or the bot.')
return 1 return 1
missing_shards = [] missing_shards = []
......
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