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

@@ -521,22 +521,28 @@ def store_airgap_image_redis(conn, docker_client, run_image):
521
521
  run_image, airgap_key
522
522
  )
523
523
  )
524
- run_image_binary_stream = io.BytesIO()
525
- run_image_docker = docker_client.images.get(run_image)
526
- for chunk in run_image_docker.save():
527
- run_image_binary_stream.write(chunk)
528
524
  # 7 days expire
529
525
  binary_exp_secs = 24 * 60 * 60 * 7
530
- res_airgap = conn.set(
531
- airgap_key,
532
- run_image_binary_stream.getbuffer(),
533
- ex=binary_exp_secs,
534
- )
535
- logging.info(
536
- "DOCKER AIR GAP: result of set bin data to {}: {}".format(
537
- airgap_key, res_airgap
526
+ if conn.exists(airgap_key):
527
+ logging.info(
528
+ f"DOCKER AIRGAP KEY ALREADY EXISTS: {airgap_key}. Updating only the expire time"
529
+ )
530
+ conn.expire(airgap_key, binary_exp_secs)
531
+ else:
532
+ run_image_binary_stream = io.BytesIO()
533
+ run_image_docker = docker_client.images.get(run_image)
534
+ for chunk in run_image_docker.save():
535
+ run_image_binary_stream.write(chunk)
536
+ res_airgap = conn.set(
537
+ airgap_key,
538
+ run_image_binary_stream.getbuffer(),
539
+ ex=binary_exp_secs,
540
+ )
541
+ logging.info(
542
+ "DOCKER AIR GAP: result of set bin data to {}: {}".format(
543
+ airgap_key, res_airgap
544
+ )
538
545
  )
539
- )
540
546
 
541
547
 
542
548
  def generate_benchmark_stream_request(
@@ -20,6 +20,8 @@ def restore_build_artifacts_from_test_details(
20
20
  fd.write(buffer)
21
21
  os.chmod(artifact_fname, 755)
22
22
 
23
- logging.info(
24
- "Successfully restored {} into {}".format(build_artifact, artifact_fname)
25
- )
23
+ logging.info(
24
+ "Successfully restored {} into {}".format(
25
+ build_artifact, artifact_fname
26
+ )
27
+ )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: redis-benchmarks-specification
3
- Version: 0.1.211
3
+ Version: 0.1.213
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
@@ -8,6 +8,7 @@ Requires-Python: >=3.10.0,<4.0.0
8
8
  Classifier: Programming Language :: Python :: 3
9
9
  Classifier: Programming Language :: Python :: 3.10
10
10
  Classifier: Programming Language :: Python :: 3.11
11
+ Classifier: Programming Language :: Python :: 3.12
11
12
  Requires-Dist: Flask (>=2.0.3,<3.0.0)
12
13
  Requires-Dist: Flask-HTTPAuth (>=4.4.0,<5.0.0)
13
14
  Requires-Dist: GitPython (>=3.1.20,<4.0.0)
@@ -4,7 +4,7 @@ redis_benchmarks_specification/__api__/api.py,sha256=k_CMICtMm1z8jY3hByaL0hIr_5v
4
4
  redis_benchmarks_specification/__api__/app.py,sha256=JzQm84DjIVdfLbDO423BJbrds6gFzMbA0syRkHE_aUU,7063
5
5
  redis_benchmarks_specification/__builder__/Readme.md,sha256=O6MV_J3OSgzW-ir2TbukP8Vhkm_LOzQJJndG1Cykqic,111
6
6
  redis_benchmarks_specification/__builder__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
7
- redis_benchmarks_specification/__builder__/builder.py,sha256=jaAUxVqIlgg9lULxKKU4SlTuW9g1HlWJO9EyVIadJCw,25809
7
+ redis_benchmarks_specification/__builder__/builder.py,sha256=7y_dey7EKKF50Dxk2WOlEnAPhO564TkgHr9uXSw8aeA,26081
8
8
  redis_benchmarks_specification/__builder__/schema.py,sha256=1wcmyVJBcWrBvK58pghN9NCoWLCO3BzPsmdKWYfkVog,584
9
9
  redis_benchmarks_specification/__cli__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
10
10
  redis_benchmarks_specification/__cli__/args.py,sha256=ggjDVunIe8LbJ8QGg6Td2ZRgD8qUjX_xCOf4cP780k8,6728
@@ -27,7 +27,7 @@ redis_benchmarks_specification/__runner__/args.py,sha256=lYvbPd_3ppHZv4f2sRwXcF-
27
27
  redis_benchmarks_specification/__runner__/runner.py,sha256=4ed8mNrZioIYL3XhHenMqeZGPkX1Cy8nbhB8ThyzEKU,48106
28
28
  redis_benchmarks_specification/__self_contained_coordinator__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
29
29
  redis_benchmarks_specification/__self_contained_coordinator__/args.py,sha256=VHjWWjZ0bs05rcQaeZYSFxf1d_0t02PRoXgfrhfF5nU,5770
30
- redis_benchmarks_specification/__self_contained_coordinator__/artifacts.py,sha256=G8PyioY_xrUVf6DCzSXR5I5YiicfSdGI2fx7GK0-H-8,886
30
+ redis_benchmarks_specification/__self_contained_coordinator__/artifacts.py,sha256=OVHqJzDgeSSRfUSiKp1ZTAVv14PvSbk-5yJsAAoUfpw,936
31
31
  redis_benchmarks_specification/__self_contained_coordinator__/build_info.py,sha256=vlg8H8Rxu2falW8xp1GvL1SV1fyBguSbz6Apxc7A2yM,2282
32
32
  redis_benchmarks_specification/__self_contained_coordinator__/clients.py,sha256=voL6zP3RenpZ1A7JKGVkvEWVXI9KYwmnSgVJr6l8o-4,710
33
33
  redis_benchmarks_specification/__self_contained_coordinator__/cpuset.py,sha256=sRvtoJIitppcOpm3R5LbVmSfPEAqPumOqVATnF5Wbek,594
@@ -151,8 +151,8 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-2keys-set-10-100-el
151
151
  redis_benchmarks_specification/test-suites/memtier_benchmark-2keys-stream-5-entries-xread-all-entries-pipeline-10.yml,sha256=7yWCmQTtiypmF1tHGV61z9Zh5EH8CVuETu7bDNC4V6g,1138
152
152
  redis_benchmarks_specification/test-suites/memtier_benchmark-2keys-stream-5-entries-xread-all-entries.yml,sha256=Z6T75dIbjRb4YO1tFIV9K4S_KFzRHfAa4q3kOg0vcHw,1112
153
153
  redis_benchmarks_specification/test-suites/template.txt,sha256=d_edIE7Sxa5X7I2yG-Io0bPdbDIHR0oWFoCA3XUt_EU,435
154
- redis_benchmarks_specification-0.1.211.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
155
- redis_benchmarks_specification-0.1.211.dist-info/METADATA,sha256=0VxaETsY9gvF3jwE1tOzr7R_N6Dpz5Nk-01D0NZQNqM,22675
156
- redis_benchmarks_specification-0.1.211.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
157
- redis_benchmarks_specification-0.1.211.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
158
- redis_benchmarks_specification-0.1.211.dist-info/RECORD,,
154
+ redis_benchmarks_specification-0.1.213.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
155
+ redis_benchmarks_specification-0.1.213.dist-info/METADATA,sha256=6ku3MFVU9AyrLzfTculz3ghcu_mp2QSOooVtcjd1tJ0,22726
156
+ redis_benchmarks_specification-0.1.213.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
157
+ redis_benchmarks_specification-0.1.213.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
158
+ redis_benchmarks_specification-0.1.213.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 1.5.2
2
+ Generator: poetry-core 1.9.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any