Index: build/android/pylib/results/json_results.py |
diff --git a/build/android/pylib/results/json_results.py b/build/android/pylib/results/json_results.py |
index 19fc60fb7f47574fabc1a7cdbb1142e5ed2c6e99..5a2d4d4af285b9e2effffcaf439db07f1c956e8e 100644 |
--- a/build/android/pylib/results/json_results.py |
+++ b/build/android/pylib/results/json_results.py |
@@ -137,6 +137,7 @@ def GenerateJsonResultsFile(test_run_result, file_path, global_tags=None): |
with open(file_path, 'w') as json_result_file: |
json_result_file.write(json.dumps( |
GenerateResultsDict(test_run_result, global_tags=global_tags))) |
+ json_result_file.flush() |
jbudorick
2017/08/10 16:27:38
Exiting the context manager here should flush the
|
def ParseResultsFromJson(json_results): |