@@ -97,7 +97,19 @@ def main():
97
97
)
98
98
args = parser .parse_args ()
99
99
100
- run_client_runner_logic (args , project_name , project_name_suffix , project_version )
100
+ # Debug output
101
+ print ("DEBUG: Starting main function" )
102
+ print (f"DEBUG: Topology filter: { args .topology } " )
103
+
104
+ # Redirect stdout to a file for debugging
105
+ import sys
106
+ original_stdout = sys .stdout
107
+ with open ('debug_output.txt' , 'w' ) as f :
108
+ sys .stdout = f
109
+ print ("DEBUG: Redirected stdout to file" )
110
+ print (f"DEBUG: Topology filter: { args .topology } " )
111
+ run_client_runner_logic (args , project_name , project_name_suffix , project_version )
112
+ sys .stdout = original_stdout
101
113
102
114
103
115
def run_client_runner_logic (args , project_name , project_name_suffix , project_version ):
@@ -383,6 +395,11 @@ def delete_temporary_files(
383
395
shutil .rmtree (temporary_dir_client , ignore_errors = True )
384
396
logging .info (f"Removing temporary client dir { temporary_dir_client } " )
385
397
398
+ # Debug output
399
+ print (f"DEBUG: Starting process_self_contained_coordinator_stream" )
400
+ print (f"DEBUG: Topology filter: { args .topology } " )
401
+ print (f"DEBUG: Test files: { testsuite_spec_files } " )
402
+
386
403
overall_result = True
387
404
results_matrix = []
388
405
total_test_suite_runs = 0
@@ -418,7 +435,18 @@ def delete_temporary_files(
418
435
)
419
436
)
420
437
438
+ print (f"DEBUG: Test file: { test_file } , Test name: { test_name } " )
439
+ print (f"DEBUG: Available topologies: { benchmark_config ['redis-topologies' ]} " )
440
+
421
441
for topology_spec_name in benchmark_config ["redis-topologies" ]:
442
+ # Filter by topology if specified
443
+ if args .topology and args .topology != "" :
444
+ if topology_spec_name != args .topology :
445
+ print (f"DEBUG: Skipping topology { topology_spec_name } as it doesn't match the requested topology { args .topology } " )
446
+ continue
447
+ else :
448
+ print (f"DEBUG: Running topology { topology_spec_name } as it matches the requested topology { args .topology } " )
449
+
422
450
test_result = False
423
451
benchmark_tool_global = ""
424
452
full_result_path = None
0 commit comments