Skip to content

Commit 3ae5167

Browse files
slice4erootMartin Dimitrovfilipecosta90
authored
Fix preload warning (#112)
* delete the stopped container by default at tear down * fix test-time on 4 test-cases. * removed the -n parameter, since it was incompatible with --test-time and was causing the benchmark to fail * adding a test-time=180 to testcase memtier_benchmark-10Mkeys-load-hash-5-fields-with-100B-values-pipeline-10.yml * Re-order --preserve_temporary_client_dirs --client_aggregated_results_folder so that we can create an aggregated folder and still delete the temp files after. In addition, delete temp JSON files created by redis-benchmark (and not by memtier-benchmark) * change the auto-remove to True, so that we dont accumulate un-used containers * Correctly label preload in log and do not issue warning is preload is less than 60 seconds * remove warning when preload is less than 60 sec. Label as preload Co-authored-by: root <[email protected]> Co-authored-by: Martin Dimitrov <[email protected]> Co-authored-by: filipe oliveira <[email protected]>
1 parent 0e438ff commit 3ae5167

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

redis_benchmarks_specification/__runner__/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ def data_prepopulation_step(
698698

699699
preload_end_time = datetime.datetime.now()
700700
preload_duration_seconds = calculate_client_tool_duration_and_check(
701-
preload_end_time, preload_start_time
701+
preload_end_time, preload_start_time, "Preload", False
702702
)
703703
logging.info(
704704
"Tool {} seconds to load data. Output {}".format(

redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ def process_self_contained_coordinator_stream(
632632
"mode": "rw",
633633
},
634634
},
635-
auto_remove=False,
635+
auto_remove=True,
636636
privileged=True,
637637
working_dir=benchmark_tool_workdir,
638638
command=benchmark_command_str,
@@ -902,7 +902,7 @@ def data_prepopulation_step(
902902

903903
preload_end_time = datetime.datetime.now()
904904
preload_duration_seconds = calculate_client_tool_duration_and_check(
905-
preload_end_time, preload_start_time
905+
preload_end_time, preload_start_time, "Preload", False
906906
)
907907
logging.info(
908908
"Tool {} seconds to load data. Output {}".format(

0 commit comments

Comments
 (0)