File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
redis_benchmarks_specification/__common__ Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -277,6 +277,8 @@ def export_redis_metrics(
277
277
}
278
278
if git_hash is not None and git_hash != "" :
279
279
by_variants ["by.hash/{}" .format (git_hash )] = {"hash" : git_hash }
280
+ if artifact_version is not None and artifact_version != "" :
281
+ by_variants ["by.hash/{}" .format (git_hash )]["version" ] = artifact_version
280
282
if artifact_version is not None and artifact_version != "" :
281
283
by_variants ["by.version/{}" .format (artifact_version )] = {
282
284
"version" : artifact_version
Original file line number Diff line number Diff line change @@ -345,9 +345,9 @@ def test_self_contained_coordinator_dockerhub_preload():
345
345
assert len (by_hash_keys ) > 0
346
346
for hash_key in by_hash_keys :
347
347
# ensure we have both version and hash info on the key
348
- assert "version" in rts .info (hash_key ).labels
348
+ # assert "version" in rts.info(hash_key).labels
349
349
assert "hash" in rts .info (hash_key ).labels
350
- assert redis_version == rts .info (hash_key ).labels ["version" ]
350
+ # assert redis_version == rts.info(hash_key).labels["version"]
351
351
352
352
except redis .exceptions .ConnectionError :
353
353
pass
@@ -995,7 +995,7 @@ def test_dockerhub_via_cli_airgap():
995
995
assert len (by_hash_keys ) > 0
996
996
for hash_key in by_hash_keys :
997
997
# ensure we have both version and hash info on the key
998
- assert "version" in rts .info (hash_key ).labels
998
+ # assert "version" in rts.info(hash_key).labels
999
999
assert "hash" in rts .info (hash_key ).labels
1000
1000
assert redis_version == rts .info (hash_key ).labels ["version" ]
1001
1001
You can’t perform that action at this time.
0 commit comments