From 0a580fee754c429ee98f2d14ded9e2a6aa04d8d0 Mon Sep 17 00:00:00 2001 From: markovamaria Date: Tue, 28 Mar 2023 18:09:43 +0200 Subject: [PATCH] Fix for TypeError in self-coordinator Replaced usage of redisbench_admin.run.common.execute_init_commands to newer redis_benchmarks_specification.__common__.runner.execute_init_commands --- .../self_contained_coordinator.py | 2 +- .../test-suites/redis-benchmark-full-suite-1Mkeys-100B.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py b/redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py index 1767d0d1..0b8ae518 100644 --- a/redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py +++ b/redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py @@ -32,6 +32,7 @@ extract_testsuites, reset_commandstats, exporter_datasink_common, + execute_init_commands, ) from redis_benchmarks_specification.__runner__.runner import ( print_results_table_stdout, @@ -54,7 +55,6 @@ from redisbench_admin.run.common import ( get_start_time_vars, prepare_benchmark_parameters, - execute_init_commands, ) from redisbench_admin.run.grafana import generate_artifacts_table_grafana_redis from redisbench_admin.run.redistimeseries import ( diff --git a/utils/tests/test_data/test-suites/redis-benchmark-full-suite-1Mkeys-100B.yml b/utils/tests/test_data/test-suites/redis-benchmark-full-suite-1Mkeys-100B.yml index 832941f4..28a71f49 100644 --- a/utils/tests/test_data/test-suites/redis-benchmark-full-suite-1Mkeys-100B.yml +++ b/utils/tests/test_data/test-suites/redis-benchmark-full-suite-1Mkeys-100B.yml @@ -4,8 +4,8 @@ description: "Runs the default redis-benchmark test suite, for a keyspace length with a data size of 100 Bytes for each key. On total 50 concurrent connections will be used, sending 1M requests." dbconfig: - - configuration-parameters: - - save: '""' + configuration-parameters: + save: '""' tested-commands: - PING - SET