Skip to content

Commit 6cb27ba

Browse files
Fixed allowed setups check (#402)
1 parent 4a5d779 commit 6cb27ba

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "redisbench-admin"
3-
version = "0.10.2"
3+
version = "0.10.3"
44
description = "Redis benchmark run helper. A wrapper around Redis and Redis Modules benchmark tools ( ftsb_redisearch, memtier_benchmark, redis-benchmark, aibench, etc... )."
55
authors = ["filipecosta90 <filipecosta.90@gmail.com>","Redis Performance Group <performance@redis.com>"]
66
readme = "README.md"

redisbench_admin/run_local/run_local.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,12 @@ def run_local_command_logic(args, project_name, project_version):
158158
shard_count,
159159
) = get_setup_type_and_primaries_count(setup_settings)
160160
if args.allowed_setups != "":
161-
allowed_setups = args.allowed_setups.split()
161+
allowed_setups = args.allowed_setups.split(",")
162+
logging.info(
163+
"Checking if setup named {} of topology type {}. Total primaries: {} is in the allowed list of setups {}".format(
164+
setup_name, setup_type, shard_count, allowed_setups
165+
)
166+
)
162167
if setup_name not in allowed_setups:
163168
logging.warning(
164169
"SKIPPING setup named {} of topology type {}.".format(

0 commit comments

Comments
 (0)