File tree Expand file tree Collapse file tree 3 files changed +13
-17
lines changed
redis_benchmarks_specification
__self_contained_coordinator__ Expand file tree Collapse file tree 3 files changed +13
-17
lines changed Original file line number Diff line number Diff line change @@ -214,11 +214,6 @@ def create_client_runner_args(project_name):
214
214
action = "store_true" ,
215
215
help = "Run client in cluster mode." ,
216
216
)
217
- parser .add_argument (
218
- "--topology" ,
219
- default = "" ,
220
- help = "Filter tests to run only with the specified topology (e.g. oss-standalone)" ,
221
- )
222
217
parser .add_argument (
223
218
"--unix-socket" ,
224
219
default = "" ,
Original file line number Diff line number Diff line change @@ -117,7 +117,6 @@ def process_self_contained_coordinator_stream(
117
117
docker_air_gap = False ,
118
118
verbose = False ,
119
119
run_tests_with_dataset = False ,
120
- args = None ,
121
120
):
122
121
stream_id = "n/a"
123
122
overall_result = False
@@ -199,17 +198,6 @@ def process_self_contained_coordinator_stream(
199
198
)
200
199
)
201
200
for topology_spec_name in benchmark_config ["redis-topologies" ]:
202
- # Filter by topology if specified
203
- if (
204
- args .topology
205
- and args .topology != ""
206
- and topology_spec_name != args .topology
207
- ):
208
- logging .info (
209
- f"Skipping topology { topology_spec_name } as it doesn't match the requested topology { args .topology } "
210
- )
211
- continue
212
-
213
201
test_result = False
214
202
try :
215
203
current_cpu_pos = cpuset_start_pos
Original file line number Diff line number Diff line change @@ -494,6 +494,7 @@ def process_self_contained_coordinator_stream(
494
494
default_metrics_str = "ALL_STATS.Totals.Ops/sec" ,
495
495
docker_keep_env = False ,
496
496
restore_build_artifacts_default = True ,
497
+ args = None ,
497
498
):
498
499
stream_id = "n/a"
499
500
overall_result = False
@@ -780,6 +781,18 @@ def process_self_contained_coordinator_stream(
780
781
for topology_spec_name in benchmark_config ["redis-topologies" ]:
781
782
setup_name = topology_spec_name
782
783
setup_type = "oss-standalone"
784
+
785
+ # Filter by topology if specified
786
+ if (
787
+ args is not None
788
+ and args .topology
789
+ and topology_spec_name != args .topology
790
+ ):
791
+ logging .info (
792
+ f"Skipping topology { topology_spec_name } as it doesn't match the requested topology { args .topology } "
793
+ )
794
+ continue
795
+
783
796
if topology_spec_name in topologies_map :
784
797
topology_spec = topologies_map [topology_spec_name ]
785
798
setup_type = topology_spec ["type" ]
You can’t perform that action at this time.
0 commit comments