@@ -105,6 +105,8 @@ def test_self_contained_coordinator_blocking_read():
105
105
assert number_processed_streams == 1
106
106
test_name = "memtier_benchmark-1Mkeys-100B-expire-use-case"
107
107
tf_triggering_env = "ci"
108
+ tf_github_org = "redis"
109
+ tf_github_repo = "redis"
108
110
deployment_name = "oss-standalone"
109
111
deployment_type = "oss-standalone"
110
112
use_metric_context_path = False
@@ -711,7 +713,7 @@ def test_self_contained_coordinator_dockerhub_valkey():
711
713
assert result == True
712
714
assert number_processed_streams == 1
713
715
assert num_process_test_suites == 1
714
- by_version_key = f"ci.benchmarks.redislabs /ci/{ github_org } /{ github_repo } /memtier_benchmark-1Mkeys-load-string-with-10B-values/by.version/{ redis_version } /benchmark_end/oss-standalone/memory_maxmemory"
716
+ by_version_key = f"ci.benchmarks.redis /ci/{ github_org } /{ github_repo } /memtier_benchmark-1Mkeys-load-string-with-10B-values/by.version/{ redis_version } /benchmark_end/oss-standalone/memory_maxmemory"
715
717
assert datasink_conn .exists (by_version_key )
716
718
rts = datasink_conn .ts ()
717
719
# check we have by version metrics
@@ -844,7 +846,7 @@ def test_dockerhub_via_cli():
844
846
assert result == True
845
847
assert number_processed_streams == 1
846
848
assert num_process_test_suites == 1
847
- by_version_key = f"ci.benchmarks.redislabs /ci/{ github_org } /{ github_repo } /memtier_benchmark-1Mkeys-load-string-with-10B-values/by.version/{ redis_version } /benchmark_end/oss-standalone/memory_maxmemory"
849
+ by_version_key = f"ci.benchmarks.redis /ci/{ github_org } /{ github_repo } /memtier_benchmark-1Mkeys-load-string-with-10B-values/by.version/{ redis_version } /benchmark_end/oss-standalone/memory_maxmemory"
848
850
assert datasink_conn .exists (by_version_key )
849
851
rts = datasink_conn .ts ()
850
852
# check we have by version metrics
@@ -973,11 +975,13 @@ def test_dockerhub_via_cli_airgap():
973
975
assert result == True
974
976
assert number_processed_streams == 1
975
977
assert num_process_test_suites == 1
976
- by_version_key = f"ci.benchmarks.redislabs /ci/{ github_org } /{ github_repo } /memtier_benchmark-1Mkeys-load-string-with-10B-values/by.version/{ redis_version } /benchmark_end/oss-standalone/memory_maxmemory"
978
+ by_version_key = f"ci.benchmarks.redis /ci/{ github_org } /{ github_repo } /memtier_benchmark-1Mkeys-load-string-with-10B-values/by.version/{ redis_version } /benchmark_end/oss-standalone/memory_maxmemory"
977
979
assert datasink_conn .exists (by_version_key )
978
980
rts = datasink_conn .ts ()
979
981
# check we have by version metrics
980
- assert "version" in rts .info (by_version_key ).labels
982
+ key_labels = rts .info (by_version_key ).labels
983
+ logging .info (key_labels )
984
+ assert "version" in key_labels
981
985
assert redis_version == rts .info (by_version_key ).labels ["version" ]
982
986
983
987
# get all keys
@@ -1077,7 +1081,7 @@ def test_prepare_memtier_benchmark_parameters():
1077
1081
)
1078
1082
assert (
1079
1083
benchmark_command_str
1080
- == 'memtier_benchmark --json-out-file 1.json --port 12000 --server localhost "--data-size" "100" --command "SETEX __key__ 10 __data__" --command-key-pattern="R" --command "SET __key__ __data__" --command-key-pattern="R" --command "GET __key__" --command-key-pattern="R" --command "DEL __key__" --command-key-pattern="R" -c 50 -t 2 --hide-histogram --test-time 300 '
1084
+ == 'memtier_benchmark --json-out-file 1.json --port 12000 --server localhost "--data-size" "100" --command "SETEX __key__ 10 __data__" --command-key-pattern="R" --command "SET __key__ __data__" --command-key-pattern="R" --command "GET __key__" --command-key-pattern="R" --command "DEL __key__" --command-key-pattern="R" -c 50 -t 2 --hide-histogram --test-time 120 --key-minimum 1 --key-maximum 1000000 '
1081
1085
)
1082
1086
oss_api_enabled = True
1083
1087
(
@@ -1093,7 +1097,7 @@ def test_prepare_memtier_benchmark_parameters():
1093
1097
)
1094
1098
assert (
1095
1099
benchmark_command_str
1096
- == 'memtier_benchmark --json-out-file 1.json --port 12000 --server localhost --cluster-mode "--data-size" "100" --command "SETEX __key__ 10 __data__" --command-key-pattern="R" --command "SET __key__ __data__" --command-key-pattern="R" --command "GET __key__" --command-key-pattern="R" --command "DEL __key__" --command-key-pattern="R" -c 50 -t 2 --hide-histogram --test-time 300 '
1100
+ == 'memtier_benchmark --json-out-file 1.json --port 12000 --server localhost --cluster-mode "--data-size" "100" --command "SETEX __key__ 10 __data__" --command-key-pattern="R" --command "SET __key__ __data__" --command-key-pattern="R" --command "GET __key__" --command-key-pattern="R" --command "DEL __key__" --command-key-pattern="R" -c 50 -t 2 --hide-histogram --test-time 120 --key-minimum 1 --key-maximum 1000000 '
1097
1101
)
1098
1102
1099
1103
0 commit comments