diff --git a/pyproject.toml b/pyproject.toml index 2d34843..24bed5f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "redisbench-admin" -version = "0.1.23" +version = "0.1.24" description = "Redis benchmark run helper. A wrapper around Redis and Redis Modules benchmark tools ( ftsb_redisearch, memtier_benchmark, redis-benchmark, aibench, etc... )." authors = ["filipecosta90 "] readme = "README.md" diff --git a/redisbench_admin/run/run.py b/redisbench_admin/run/run.py index a2a2571..e17ab57 100644 --- a/redisbench_admin/run/run.py +++ b/redisbench_admin/run/run.py @@ -145,6 +145,10 @@ def run_command_logic(args): options, input_file, workers, pipeline, oss_cluster_mode, max_rps, requests) + if benchmark_repetitions_require_teardown is True or repetition == args.repetitions: + print("Running tear down steps...") + run_setup_commands(args, "tear down", benchmark_config["teardown"]["commands"], oss_cluster_mode) + progress.update() end_time = dt.datetime.now() progress.close()