redis-benchmarks-specification 0.1.211__py3-none-any.whl → 0.1.212__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,17 +521,24 @@ 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)
524
+
528
525
  # 7 days expire
529
526
  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
- )
527
+ if conn.exists(airgap_key):
528
+ logging.info(
529
+ f"DOCKER AIRGAP KEY ALREADY EXISTS: {airgap_key}. Updating only the expire time"
530
+ )
531
+ conn.expire(airgap_key, binary_exp_secs)
532
+ else:
533
+ run_image_binary_stream = io.BytesIO()
534
+ run_image_docker = docker_client.images.get(run_image)
535
+ for chunk in run_image_docker.save():
536
+ run_image_binary_stream.write(chunk)
537
+ res_airgap = conn.set(
538
+ airgap_key,
539
+ run_image_binary_stream.getbuffer(),
540
+ ex=binary_exp_secs,
541
+ )
535
542
  logging.info(
536
543
  "DOCKER AIR GAP: result of set bin data to {}: {}".format(
537
544
  airgap_key, res_airgap
@@ -20,6 +20,6 @@ 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(build_artifact, artifact_fname)
25
+ )
@@ -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.212
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
@@ -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=_ipLsj09QsUkmx-7XX2xVJMw5jqjU_e3j0ZWcWsjF0c,26062
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=9l2DCDxkLHVQFejDHylfPdTu4RFeGzON1OEQ50xOKe4,898
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.212.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
155
+ redis_benchmarks_specification-0.1.212.dist-info/METADATA,sha256=kiTejO6W-3T_vSXe5LCZbyf4Vf_SECiqZNTRQNN6xuU,22675
156
+ redis_benchmarks_specification-0.1.212.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
157
+ redis_benchmarks_specification-0.1.212.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
158
+ redis_benchmarks_specification-0.1.212.dist-info/RECORD,,