| Index: scripts/slave/recipe_modules/swarming/resources/collect_gtest_task.py
|
| diff --git a/scripts/slave/recipe_modules/swarming/resources/collect_gtest_task.py b/scripts/slave/recipe_modules/swarming/resources/collect_gtest_task.py
|
| index 778083005e9bff44f999e46578afe4d0f21d5909..cd82d3b1955c1a3f7debfabf33d5ee75ff4ca6de 100755
|
| --- a/scripts/slave/recipe_modules/swarming/resources/collect_gtest_task.py
|
| +++ b/scripts/slave/recipe_modules/swarming/resources/collect_gtest_task.py
|
| @@ -94,18 +94,12 @@
|
| merged[key] = sorted(merged[key])
|
| return merged
|
|
|
| -OUTPUT_JSON_SIZE_LIMIT = 2e7
|
| -
|
|
|
| def load_shard_json(output_dir, index):
|
| """Reads JSON output of a single shard."""
|
| # 'output.json' is set in swarming/api.py, gtest_task method.
|
| path = os.path.join(output_dir, str(index), 'output.json')
|
| try:
|
| - filesize = os.stat(path).st_size
|
| - if filesize > OUTPUT_JSON_SIZE_LIMIT:
|
| - raise ValueError()
|
| -
|
| with open(path) as f:
|
| return json.load(f)
|
| except (IOError, ValueError):
|
|
|