@@ -26,6 +26,8 @@ def run_command_logic(args):
2626 local_path = os .path .abspath (args .local_dir )
2727 workers = args .workers
2828 pipeline = args .pipeline
29+ oss_cluster_mode = args .cluster_mode
30+
2931 benchmark_machine_info = cpuinfo .get_cpu_info ()
3032 total_cores = benchmark_machine_info ['count' ]
3133 benchmark_infra = {"total-benchmark-machines" : 0 , "benchmark-machines" : {}, "total-db-machines" : 0 ,
@@ -122,10 +124,14 @@ def run_command_logic(args):
122124 setup_run_key = "setup-run-{}.json" .format (repetition )
123125 setup_run_json_output_fullpath = "{}/{}" .format (local_path , setup_run_key )
124126 input_file = run_stages_inputs ["setup" ]
125- benchmark_output_dict ["setup" ][setup_run_key ] = run_ftsb_redisearch (args .redis_url ,
126- benchmark_tool_path ,
127+ benchmark_output_dict ["setup" ][setup_run_key ] = run_ftsb_redisearch (args .redis_url , benchmark_tool_path ,
127128 setup_run_json_output_fullpath ,
129+ << << << < HEAD
130+ options , input_file , workers ,
131+ pipeline , oss_cluster_mode )
132+ == == == =
128133 options , input_file , workers , pipeline )
134+ >> >> > >> master
129135 progress .update ()
130136
131137 ######################
@@ -135,10 +141,14 @@ def run_command_logic(args):
135141 benchmark_run_json_output_fullpath = "{}/{}" .format (local_path , benchmark_run_key )
136142 input_file = run_stages_inputs ["benchmark" ]
137143
138- benchmark_output_dict ["benchmark" ][benchmark_run_key ] = run_ftsb_redisearch (args .redis_url ,
139- benchmark_tool_path ,
144+ benchmark_output_dict ["benchmark" ][benchmark_run_key ] = run_ftsb_redisearch (args .redis_url , benchmark_tool_path ,
140145 benchmark_run_json_output_fullpath ,
146+ << << << < HEAD
147+ options , input_file , workers ,
148+ pipeline , oss_cluster_mode )
149+ == == == =
141150 options , input_file , workers , pipeline )
151+ >> >> > >> master
142152
143153 if benchmark_repetitions_require_teardown is True or repetition == args .repetitions :
144154 print ("Running tear down steps..." )
0 commit comments