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

@@ -537,6 +537,13 @@ def process_self_contained_coordinator_stream(
537
537
  f"detected a regexp definition on the streamdata {test_regexp}"
538
538
  )
539
539
 
540
+ command_groups_regexp = None
541
+ if b"tests_groups_regexp" in testDetails:
542
+ command_groups_regexp = testDetails[b"tests_groups_regexp"].decode()
543
+ logging.info(
544
+ f"detected a command groups regexp definition on the streamdata {command_groups_regexp}"
545
+ )
546
+
540
547
  skip_test = False
541
548
  if b"platform" in testDetails:
542
549
  platform = testDetails[b"platform"]
@@ -591,6 +598,7 @@ def process_self_contained_coordinator_stream(
591
598
  priority_upper_limit,
592
599
  test_regexp,
593
600
  testsuite_spec_files,
601
+ command_groups_regexp,
594
602
  )
595
603
 
596
604
  for test_file in filtered_test_files:
@@ -1362,6 +1370,7 @@ def filter_test_files(
1362
1370
  priority_upper_limit,
1363
1371
  test_regexp,
1364
1372
  testsuite_spec_files,
1373
+ command_groups_regexp=None,
1365
1374
  ):
1366
1375
  filtered_test_files = []
1367
1376
  for test_file in testsuite_spec_files:
@@ -1397,6 +1406,34 @@ def filter_test_files(
1397
1406
  )
1398
1407
  continue
1399
1408
 
1409
+ if command_groups_regexp is not None:
1410
+ logging.info(
1411
+ "Filtering all test command groups via a regular expression: {}".format(
1412
+ command_groups_regexp
1413
+ )
1414
+ )
1415
+ if "tested-groups" in benchmark_config:
1416
+ command_groups = benchmark_config["tested-groups"]
1417
+ logging.info(
1418
+ f"The file {test_file} (test name = {test_name}) contains the following groups: {command_groups}"
1419
+ )
1420
+ groups_regex_string = re.compile(command_groups_regexp)
1421
+ found = False
1422
+ for command_group in command_groups:
1423
+ match_obj = re.search(groups_regex_string, command_group)
1424
+ if match_obj is not None:
1425
+ found = True
1426
+ logging.info(f"found the command group {command_group}")
1427
+ if found is False:
1428
+ logging.info(
1429
+ f"Skipping {test_file} given the following groups: {command_groups} does not match command group regex {command_groups_regexp}"
1430
+ )
1431
+ continue
1432
+ else:
1433
+ logging.warning(
1434
+ f"The file {test_file} (test name = {test_name}) does not contain the property 'tested-groups'. Cannot filter based uppon groups..."
1435
+ )
1436
+
1400
1437
  if "priority" in benchmark_config:
1401
1438
  priority = benchmark_config["priority"]
1402
1439
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: redis-benchmarks-specification
3
- Version: 0.1.203
3
+ Version: 0.1.204
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
@@ -33,7 +33,7 @@ redis_benchmarks_specification/__self_contained_coordinator__/cpuset.py,sha256=s
33
33
  redis_benchmarks_specification/__self_contained_coordinator__/docker.py,sha256=iivxZ55vL2kVHHkqVbXY2ftvxvceqH_Zw079KLCv9N8,2507
34
34
  redis_benchmarks_specification/__self_contained_coordinator__/prepopulation.py,sha256=ajhpzxsBy6tiHrO79gEIKQYxZR-Us6B4rC6NYg1EZjM,2875
35
35
  redis_benchmarks_specification/__self_contained_coordinator__/runners.py,sha256=Ul8UoxvWRxCVWmyaCBadpLMDOVEoNSp-A9KMPtPmUwM,28483
36
- redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py,sha256=dufGoli9ibV92NM-c0SRl2TE8Iz3Q8mr0fyte7MWNnw,66695
36
+ redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py,sha256=tD3ut8DiKNWsV67WmRGSue4l6uusQJSjMEfvV6kn81E,68628
37
37
  redis_benchmarks_specification/__setups__/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
38
  redis_benchmarks_specification/__setups__/topologies.py,sha256=xQ1IJkcTji_ZjLiJd3vOxZpvbNtBLZw9cPkw5hGJKHU,481
39
39
  redis_benchmarks_specification/__spec__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
@@ -150,8 +150,8 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-2keys-set-10-100-el
150
150
  redis_benchmarks_specification/test-suites/memtier_benchmark-2keys-stream-5-entries-xread-all-entries-pipeline-10.yml,sha256=RSkNgV5SsjdkXhM0mifi2GlwIxtiHR8N3u-ieI23BoQ,1126
151
151
  redis_benchmarks_specification/test-suites/memtier_benchmark-2keys-stream-5-entries-xread-all-entries.yml,sha256=w7-dOIU-eATHXCvJbSeih6Vt54oygtkXKskQdzCll3o,1100
152
152
  redis_benchmarks_specification/test-suites/template.txt,sha256=qrci_94QV9bPUJe0cL8lsUaQmX5Woz-jT-pDF0629AE,423
153
- redis_benchmarks_specification-0.1.203.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
154
- redis_benchmarks_specification-0.1.203.dist-info/METADATA,sha256=Twf0clJqX6SiP61aGIo7pMExQVimvOkb48rTLUPBRx0,22483
155
- redis_benchmarks_specification-0.1.203.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
156
- redis_benchmarks_specification-0.1.203.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
157
- redis_benchmarks_specification-0.1.203.dist-info/RECORD,,
153
+ redis_benchmarks_specification-0.1.204.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
154
+ redis_benchmarks_specification-0.1.204.dist-info/METADATA,sha256=hQkXQn9WSUjT65RtQq1NFDEnXXu0ws2tE-u8v341yCQ,22483
155
+ redis_benchmarks_specification-0.1.204.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
156
+ redis_benchmarks_specification-0.1.204.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
157
+ redis_benchmarks_specification-0.1.204.dist-info/RECORD,,