Skip to content

Commit a56d26e

Browse files
authored
Merge pull request #5 from slice4e/fix-redis-bench-test
Fix redis bench test
2 parents 683cda5 + 0748c88 commit a56d26e

File tree

1 file changed

+8
-0
lines changed
  • redis_benchmarks_specification/__runner__

1 file changed

+8
-0
lines changed

redis_benchmarks_specification/__runner__/runner.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2885,6 +2885,14 @@ def delete_temporary_files(
28852885
)
28862886
results_dict = json.loads(client_container_stdout)
28872887

2888+
# Write aggregated results to file so it can be preserved
2889+
full_result_path = local_benchmark_output_filename
2890+
with open(full_result_path, "w") as json_file:
2891+
json.dump(results_dict, json_file, indent=2)
2892+
logging.info(
2893+
f"Wrote aggregated multi-client results to {full_result_path}"
2894+
)
2895+
28882896
# Validate benchmark metrics
28892897
is_valid, validation_error = validate_benchmark_metrics(
28902898
results_dict, test_name, benchmark_config, default_metrics

0 commit comments

Comments
 (0)