redis-benchmarks-specification 0.1.289__py3-none-any.whl → 0.1.290__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.

Potentially problematic release.


This version of redis-benchmarks-specification might be problematic. Click here for more details.

@@ -176,6 +176,12 @@ def create_client_runner_args(project_name):
176
176
  action="store_true",
177
177
  help="Run tests that contain a dbconfig with dataset",
178
178
  )
179
+ parser.add_argument(
180
+ "--skip-tests-without-dataset",
181
+ default=False,
182
+ action="store_true",
183
+ help="Skip tests that do not contain a dbconfig with dataset",
184
+ )
179
185
  parser.add_argument(
180
186
  "--client_aggregated_results_folder",
181
187
  type=str,
@@ -1086,6 +1086,7 @@ def process_self_contained_coordinator_stream(
1086
1086
  results_matrix = []
1087
1087
  total_test_suite_runs = 0
1088
1088
  dry_run_count = 0
1089
+ dry_run_tests = [] # Track test names for dry run output
1089
1090
  dry_run = args.dry_run
1090
1091
  dry_run_include_preload = args.dry_run_include_preload
1091
1092
  defaults_filename = args.defaults_filename
@@ -1421,8 +1422,24 @@ def process_self_contained_coordinator_stream(
1421
1422
  )
1422
1423
  continue
1423
1424
 
1425
+ # Check if we should skip tests without dataset
1426
+ has_dataset = "dataset" in benchmark_config.get("dbconfig", {})
1427
+ if args.skip_tests_without_dataset is True and not has_dataset:
1428
+ logging.warning(
1429
+ "Skipping test {} as it does not contain a dataset".format(
1430
+ test_name
1431
+ )
1432
+ )
1433
+ delete_temporary_files(
1434
+ temporary_dir_client=temporary_dir_client,
1435
+ full_result_path=None,
1436
+ benchmark_tool_global=benchmark_tool_global,
1437
+ )
1438
+ continue
1439
+
1424
1440
  if dry_run is True:
1425
1441
  dry_run_count = dry_run_count + 1
1442
+ dry_run_tests.append(test_name)
1426
1443
  delete_temporary_files(
1427
1444
  temporary_dir_client=temporary_dir_client,
1428
1445
  full_result_path=None,
@@ -1491,6 +1508,7 @@ def process_self_contained_coordinator_stream(
1491
1508
 
1492
1509
  if dry_run_include_preload is True:
1493
1510
  dry_run_count = dry_run_count + 1
1511
+ dry_run_tests.append(test_name)
1494
1512
  delete_temporary_files(
1495
1513
  temporary_dir_client=temporary_dir_client,
1496
1514
  full_result_path=None,
@@ -2134,6 +2152,10 @@ def process_self_contained_coordinator_stream(
2134
2152
  logging.info(
2135
2153
  "Number of tests that would have been run: {}".format(dry_run_count)
2136
2154
  )
2155
+ if dry_run_tests:
2156
+ logging.info("Tests that would be run:")
2157
+ final_test_regex = "|".join(dry_run_tests)
2158
+ logging.info(f"Final test regex: {final_test_regex}")
2137
2159
 
2138
2160
 
2139
2161
  def get_maxmemory(r):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: redis-benchmarks-specification
3
- Version: 0.1.289
3
+ Version: 0.1.290
4
4
  Summary: The Redis benchmarks specification describes the cross-language/tools requirements and expectations to foster performance and observability standards around redis related technologies. Members from both industry and academia, including organizations and individuals are encouraged to contribute.
5
5
  Author: filipecosta90
6
6
  Author-email: filipecosta.90@gmail.com
@@ -23,9 +23,9 @@ redis_benchmarks_specification/__compare__/args.py,sha256=shER83ddBRBMAlbgxGXJ5H
23
23
  redis_benchmarks_specification/__compare__/compare.py,sha256=nymItbCO28KiAe3bVxYVObwbzpLmISAF_qyJ6b3KCPQ,62466
24
24
  redis_benchmarks_specification/__init__.py,sha256=YQIEx2sLPPA0JR9OuCuMNMNtm-f_gqDKgzvNJnkGNKY,491
25
25
  redis_benchmarks_specification/__runner__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
26
- redis_benchmarks_specification/__runner__/args.py,sha256=c27mVLLKJ6y_BHsPk_zmejAjavCPAGCwP71kX1a5R0w,10223
26
+ redis_benchmarks_specification/__runner__/args.py,sha256=C8cuU8fqgD5TZ9YDXPQ3BX63AwkMvxq_tcF9cbR9oXo,10417
27
27
  redis_benchmarks_specification/__runner__/remote_profiling.py,sha256=DNl4Wx4wHHcbmKrXFrS51gLVVBY-hftUB8awb_p9kY4,17887
28
- redis_benchmarks_specification/__runner__/runner.py,sha256=k9gM2oQNFQ21PvXXo74mgjrXPbPsA8O-Tg3IihSlRmc,106009
28
+ redis_benchmarks_specification/__runner__/runner.py,sha256=ugH5roKaaSi5ugbjyegBe4DvvunfK_u61IqT0ErkiB4,107205
29
29
  redis_benchmarks_specification/__self_contained_coordinator__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
30
30
  redis_benchmarks_specification/__self_contained_coordinator__/args.py,sha256=uxBjdQ78klvsVi6lOfGYQVaWIxc8OI-DwYKY16SgvCY,5952
31
31
  redis_benchmarks_specification/__self_contained_coordinator__/artifacts.py,sha256=OVHqJzDgeSSRfUSiKp1ZTAVv14PvSbk-5yJsAAoUfpw,936
@@ -273,8 +273,8 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-nokeys-pubsub-publi
273
273
  redis_benchmarks_specification/test-suites/memtier_benchmark-nokeys-server-time-pipeline-10.yml,sha256=rJuWWXubUeRKQ2GSfHlbPMLeOyM9Eu_MzvN2vgKcAhA,672
274
274
  redis_benchmarks_specification/test-suites/template.txt,sha256=d_edIE7Sxa5X7I2yG-Io0bPdbDIHR0oWFoCA3XUt_EU,435
275
275
  redis_benchmarks_specification/vector-search-test-suites/vector_db_benchmark_test.yml,sha256=uhaSP6YUVmPvZU-qMtPPGdvNEUgUBqOfveUbeJ9WsbI,972
276
- redis_benchmarks_specification-0.1.289.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
277
- redis_benchmarks_specification-0.1.289.dist-info/METADATA,sha256=n8v_qaQHZa0PqTmfbuQUdd-S5xMxvB9UaP8zQKIJjo4,22726
278
- redis_benchmarks_specification-0.1.289.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
279
- redis_benchmarks_specification-0.1.289.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
280
- redis_benchmarks_specification-0.1.289.dist-info/RECORD,,
276
+ redis_benchmarks_specification-0.1.290.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
277
+ redis_benchmarks_specification-0.1.290.dist-info/METADATA,sha256=WqJ8ucYj87IKA11YjQM55b6ouCfQfJyOcqNfs6Bxu3A,22726
278
+ redis_benchmarks_specification-0.1.290.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
279
+ redis_benchmarks_specification-0.1.290.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
280
+ redis_benchmarks_specification-0.1.290.dist-info/RECORD,,