redisbench-admin 0.11.7__py3-none-any.whl → 0.11.9__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -619,9 +619,11 @@ def run_redis_pre_steps(benchmark_config, r, required_modules):
619
619
  )
620
620
  search_specific_init(r, module_names)
621
621
  if required_modules is not None and len(required_modules) > 0:
622
- check_required_modules(module_names, required_modules)
623
-
624
- version = artifact_versions[0]
622
+ artifact_pos = check_required_modules(module_names, required_modules)
623
+ version = artifact_versions[artifact_pos]
624
+ logging.info(
625
+ f"Using version {version} in by version timeseries coming from {module_names[artifact_pos]}"
626
+ )
625
627
  else:
626
628
  version = r.info("server")["redis_version"]
627
629
 
@@ -161,7 +161,7 @@ def generate_remote_standalone_redis_cmd(
161
161
  logfile, temporary_dir
162
162
  )
163
163
  if enable_redis_7_config_directives:
164
- extra_str = " --enable-debug-command {} ".format(enable_debug_command)
164
+ extra_str = " --enable-debug-command yes ".format(enable_debug_command)
165
165
  initial_redis_cmd = initial_redis_cmd + extra_str
166
166
  full_logfile = "{}/{}".format(temporary_dir, logfile)
167
167
  if redis_configuration_parameters is not None:
@@ -565,6 +565,7 @@ def get_testfiles_to_process(
565
565
 
566
566
 
567
567
  def check_required_modules(module_names, required_modules):
568
+ position = -1
568
569
  if required_modules is not None:
569
570
  if len(required_modules) > 0:
570
571
  logging.info(
@@ -572,6 +573,12 @@ def check_required_modules(module_names, required_modules):
572
573
  required_modules
573
574
  )
574
575
  )
576
+ first_module = required_modules[0]
577
+ if first_module in module_names:
578
+ position = module_names.index(first_module)
579
+ logging.info(
580
+ f"POSITION of 1st required module :{first_module} in the module names list {module_names}: pos={position} "
581
+ )
575
582
  for required_module in required_modules:
576
583
  if required_module not in module_names:
577
584
  raise Exception(
@@ -108,7 +108,7 @@ def generate_common_server_args(
108
108
  command.extend(
109
109
  [
110
110
  "--enable-debug-command",
111
- enable_debug_command,
111
+ "yes",
112
112
  ]
113
113
  )
114
114
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: redisbench-admin
3
- Version: 0.11.7
3
+ Version: 0.11.9
4
4
  Summary: Redis benchmark run helper. A wrapper around Redis and Redis Modules benchmark tools ( ftsb_redisearch, memtier_benchmark, redis-benchmark, aibench, etc... ).
5
5
  Author: filipecosta90
6
6
  Author-email: filipecosta.90@gmail.com
@@ -176,7 +176,7 @@ redisbench_admin/run/ann/pkg/test/test-jaccard.py,sha256=oIhaQCQKrQokwv3fvgLSwPl
176
176
  redisbench_admin/run/ann/pkg/test/test-metrics.py,sha256=vJdS8Kuk8bAnpB65Uqb-9rUUI35XrHwaO3cNwKX5gxc,3057
177
177
  redisbench_admin/run/args.py,sha256=Sspv4eusQs9HMVMIyv_hB9vQ3S_s0lHYGAL1gPb2WGM,7864
178
178
  redisbench_admin/run/cluster.py,sha256=QuptSW-IhdyFIoQ3hzY613jtQWxBrVIlgc8OarcEK20,6072
179
- redisbench_admin/run/common.py,sha256=MIuHUTpVX7G1JsO4TIfHraPQkxqOfMu04KvcJGBw-vI,28010
179
+ redisbench_admin/run/common.py,sha256=_nnvrSE1y7cOwha2BsaTM-j-PkFH2gf4LYu0FrbqKeQ,28172
180
180
  redisbench_admin/run/ftsb/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
181
181
  redisbench_admin/run/ftsb/ftsb.py,sha256=plP-yxjMvvy-gITlXpuXJcyrPHfDoYYI8JRwTe5kK4M,2388
182
182
  redisbench_admin/run/git.py,sha256=6UYGcTN0MPzf4QDVoJnFkou0yZasLF6jLG7f0zoySq8,3064
@@ -221,22 +221,22 @@ redisbench_admin/run_remote/remote_env.py,sha256=fTZliXW7Cz0ztew7IR2BNlqLd_l4_p-
221
221
  redisbench_admin/run_remote/remote_failures.py,sha256=IOo6DyxarcwwMPCeN4gWB2JrhuC9iBLwq0nCROqr5ak,1567
222
222
  redisbench_admin/run_remote/remote_helpers.py,sha256=md58cuh11htP-_7mMQywNDy2zMcCCtrJaeUg7MH6owE,9840
223
223
  redisbench_admin/run_remote/run_remote.py,sha256=Y2EIiNzkktp_yu0CB3C8yjUXkbLBZSQ6RKGPJju7v0A,67599
224
- redisbench_admin/run_remote/standalone.py,sha256=jWL1yhkTYsSbXLzpqykFc2XE7t0uoGd-OU6C3MWvzL8,6861
224
+ redisbench_admin/run_remote/standalone.py,sha256=oqnnMWXzJG_GCV2YcmEhVRsiZWJVHt3etMe4o6rS_7E,6862
225
225
  redisbench_admin/run_remote/terraform.py,sha256=zD2gGuOmnTex6Dt2lhdAtNn21iL6sykPPXI10jJaim4,3945
226
226
  redisbench_admin/utils/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
227
- redisbench_admin/utils/benchmark_config.py,sha256=bC2C6rnj89wkkSlOXyyfe0N15unn_M1t1zfskfVkb98,21387
227
+ redisbench_admin/utils/benchmark_config.py,sha256=Ee-FS5CjePxK2rcImFZMiaXZcGBLoFXTbBvI4QYLCYE,21733
228
228
  redisbench_admin/utils/local.py,sha256=zUvyVI9LZMT3qyxs1pO3mXL6Bt_1z9EZUGppaRcWNRA,3890
229
229
  redisbench_admin/utils/redisearch.py,sha256=lchUEzpt0zB1rHwlDlw9LLifAnxFWcLP-PePw7TjL-0,1602
230
230
  redisbench_admin/utils/redisgraph_benchmark_go.py,sha256=os7EJt6kBxsFJLKkSoANbjMT7-cEq4-Ns-49alk2Tf8,2048
231
231
  redisbench_admin/utils/remote.py,sha256=Z58WKPST-H9Osbn6_UUXWHk6ruIvZUyft5xYLAh5xtA,39367
232
232
  redisbench_admin/utils/results.py,sha256=uKk3uNJ--bSXlUj_HGQ2OaV6MVqmXJVM8xTzFV6EOw4,3267
233
233
  redisbench_admin/utils/ssh.py,sha256=QW4AwlocMHJt05QMdN_4f8WeDmxiEwR80ny8VBThq6k,6533
234
- redisbench_admin/utils/utils.py,sha256=FLDjhGkW0PWwcu_nlTnIW6aZtHzJGz4LIwvu1CpCajw,14160
234
+ redisbench_admin/utils/utils.py,sha256=zq62tU-8mre2n_iTbssc990TqwArpmHQJ9WXgHdLKc4,14145
235
235
  redisbench_admin/watchdog/__init__.py,sha256=cD7zfXt0VEmy0b7452HvcAxX_9kVj6Vm213yNdUHP20,95
236
236
  redisbench_admin/watchdog/args.py,sha256=nKsG1G6ATOZlAMHMtT9u3kXxduKCbejSZ5x8oB_ynZ8,1312
237
237
  redisbench_admin/watchdog/watchdog.py,sha256=jFGtm5ktjKuXKWvH7lnmf3pp-ch1WBJUOomXILJMDAg,6158
238
- redisbench_admin-0.11.7.dist-info/LICENSE,sha256=AAMtfs82zOOvmG68vILivm6lxi2rcOlGObmA8jzxQvw,10768
239
- redisbench_admin-0.11.7.dist-info/METADATA,sha256=xRFR4AYaSuDQTVeo2ZfhREZeV_CznYE65Ee9kTeu0o0,5437
240
- redisbench_admin-0.11.7.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
241
- redisbench_admin-0.11.7.dist-info/entry_points.txt,sha256=UUawXk_AS-PlieKJ1QxPQXGsRLb6OW_F0MtmA1W0KE8,113
242
- redisbench_admin-0.11.7.dist-info/RECORD,,
238
+ redisbench_admin-0.11.9.dist-info/LICENSE,sha256=AAMtfs82zOOvmG68vILivm6lxi2rcOlGObmA8jzxQvw,10768
239
+ redisbench_admin-0.11.9.dist-info/METADATA,sha256=viD229w88uW348AdeU9Hbyprs_XXERZlYGdKDp0p9sA,5437
240
+ redisbench_admin-0.11.9.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
241
+ redisbench_admin-0.11.9.dist-info/entry_points.txt,sha256=UUawXk_AS-PlieKJ1QxPQXGsRLb6OW_F0MtmA1W0KE8,113
242
+ redisbench_admin-0.11.9.dist-info/RECORD,,