Skip to content

Commit 033bedd

Browse files
Removed reference to gcc-8 on tests
1 parent cb4404b commit 033bedd

File tree

8 files changed

+6458
-3804
lines changed

8 files changed

+6458
-3804
lines changed

commands.json

Lines changed: 6442 additions & 3788 deletions
Large diffs are not rendered by default.

redis_benchmarks_specification/setups/builders/gcc:15.2.0-amd64-debian-buster-default.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ compiler: "gcc"
66
cpp_compiler: "g++"
77
kind: docker
88
build_image: gcc:15.2.0-bookworm
9-
run_image: debian:bookworm
9+
run_image: gcc:15.2.0-bookworm
1010
description: "Using GNU Compiler Containers (https://hub.docker.com/_/gcc?tab=description)
1111
pre-configured environment with all the tools required to build with gcc."
1212
metadata:

redis_benchmarks_specification/setups/builders/gcc:15.2.0-arm64-debian-buster-default.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ compiler: "gcc"
66
cpp_compiler: "g++"
77
kind: docker
88
build_image: gcc:15.2.0-bookworm
9-
run_image: debian:bookworm
9+
run_image: gcc:15.2.0-bookworm
1010
description: "Using GNU Compiler Containers (https://hub.docker.com/_/gcc?tab=description)
1111
pre-configured environment with all the tools required to build with gcc."
1212
metadata:

utils/tests/test_builder.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
def test_build_spec_image_prefetch():
4343
builders_folder = "./redis_benchmarks_specification/setups/builders"
44-
different_build_specs = ["gcc:8.5.0-amd64-debian-bookworm-default.yml"]
44+
different_build_specs = ["gcc:15.2.0-amd64-debian-bookworm-default.yml"]
4545
prefetched_images, total_fetched = build_spec_image_prefetch(
4646
builders_folder, different_build_specs
4747
)
@@ -74,7 +74,7 @@ def test_commit_schema_to_stream_then_build():
7474
assert conn.xlen(STREAM_KEYNAME_GH_EVENTS_COMMIT) == 1
7575
assert "id" in reply_fields
7676
builders_folder = "./redis_benchmarks_specification/setups/builders"
77-
different_build_specs = ["gcc:8.5.0-amd64-debian-bookworm-default.yml"]
77+
different_build_specs = ["gcc:15.2.0-amd64-debian-bookworm-default.yml"]
7878
previous_id = ">"
7979
(
8080
previous_id,
@@ -127,7 +127,7 @@ def test_commit_schema_to_stream_then_build_historical_redis():
127127
assert conn.xlen(STREAM_KEYNAME_GH_EVENTS_COMMIT) == 1
128128
assert "id" in reply_fields
129129
builders_folder = "./redis_benchmarks_specification/setups/builders"
130-
different_build_specs = ["gcc:8.5.0-amd64-debian-bookworm-default.yml"]
130+
different_build_specs = ["gcc:15.2.0-amd64-debian-bookworm-default.yml"]
131131
previous_id = ">"
132132
previous_id, new_builds_count, _ = builder_process_stream(
133133
builders_folder, conn, different_build_specs, previous_id
@@ -210,7 +210,7 @@ def test_cli_build():
210210
events_in_pipe = conn.xlen(STREAM_KEYNAME_GH_EVENTS_COMMIT)
211211
assert events_in_pipe > 0
212212
builders_folder = "./redis_benchmarks_specification/setups/builders"
213-
different_build_specs = ["gcc:8.5.0-amd64-debian-bookworm-default.yml"]
213+
different_build_specs = ["gcc:15.2.0-amd64-debian-bookworm-default.yml"]
214214
previous_id = ">"
215215
previous_id, new_builds_count, _ = builder_process_stream(
216216
builders_folder, conn, different_build_specs, previous_id
@@ -276,7 +276,7 @@ def test_cli_build():
276276
metric_context_path = None
277277
gh_org = github_org
278278
gh_repo = github_repo
279-
build_variant_name = "gcc:8.5.0-amd64-debian-bookworm-default"
279+
build_variant_name = "gcc:15.2.0-amd64-debian-bookworm-default"
280280
for metric_name in ["ALL_STATS.Totals.Latency", "ALL_STATS.Totals.Ops/sec"]:
281281
ts_key_name = get_ts_metric_name(
282282
"by.branch",

utils/tests/test_data/api_builder_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
def flow_1_and_2_api_builder_checks(
1616
conn,
17-
build_spec_name="gcc:8.5.0-amd64-debian-bookworm-default",
17+
build_spec_name="gcc:15.2.0-amd64-debian-bookworm-default",
1818
gh_org="redis",
1919
gh_repo="redis",
2020
git_hash="0cf2df84d4b27af4bffd2bf3543838f09e10f874",

utils/tests/test_data/test-suites/memtier_benchmark-1Mkeys-100B-expire-use-case.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ tested-commands:
1919
redis-topologies:
2020
- oss-standalone
2121
build-variants:
22-
- gcc:8.5.0-amd64-debian-bookworm-default
22+
- gcc:15.2.0-amd64-debian-bookworm-default
2323
clientconfig:
2424
run_image: redislabs/memtier_benchmark:edge
2525
tool: memtier_benchmark

utils/tests/test_self_contained_coordinator_memtier.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def test_self_contained_coordinator_dockerhub_preload():
260260
)
261261
)
262262

263-
build_variant_name = "gcc:8.5.0-amd64-debian-bookworm-default"
263+
build_variant_name = "gcc:15.2.0-amd64-debian-bookworm-default"
264264
expected_datapoint_ts = None
265265

266266
assert conn.exists(STREAM_KEYNAME_NEW_BUILD_EVENTS)
@@ -386,7 +386,7 @@ def test_self_contained_coordinator_dockerhub():
386386
)
387387
)
388388

389-
build_variant_name = "gcc:8.5.0-amd64-debian-bookworm-default"
389+
build_variant_name = "gcc:15.2.0-amd64-debian-bookworm-default"
390390
expected_datapoint_ts = None
391391

392392
assert conn.exists(STREAM_KEYNAME_NEW_BUILD_EVENTS)
@@ -512,7 +512,7 @@ def test_self_contained_coordinator_dockerhub_iothreads():
512512
)
513513
)
514514

515-
build_variant_name = "gcc:8.5.0-amd64-debian-bookworm-default"
515+
build_variant_name = "gcc:15.2.0-amd64-debian-bookworm-default"
516516
expected_datapoint_ts = None
517517

518518
assert conn.exists(STREAM_KEYNAME_NEW_BUILD_EVENTS)
@@ -1006,7 +1006,7 @@ def test_self_contained_coordinator_skip_build_variant():
10061006
db_port = int(os.getenv("DATASINK_PORT", "6379"))
10071007
conn = redis.StrictRedis(port=db_port)
10081008
conn.ping()
1009-
build_variant_name = "gcc:8.5.0-amd64-debian-bookworm-default"
1009+
build_variant_name = "gcc:15.2.0-amd64-debian-bookworm-default"
10101010
expected_datapoint_ts = None
10111011
conn.flushall()
10121012
build_variant_name, reply_fields = flow_1_and_2_api_builder_checks(conn)
@@ -1111,7 +1111,7 @@ def test_self_contained_coordinator_blocking_read_valkey():
11111111
conn.flushall()
11121112
gh_org = "valkey-io"
11131113
gh_repo = "valkey"
1114-
build_spec_name = "gcc:8.5.0-amd64-debian-bookworm-default"
1114+
build_spec_name = "gcc:15.2.0-amd64-debian-bookworm-default"
11151115
git_hash = "7795152fff06f8200f5e4239ff612b240f638e14"
11161116
git_branch = "unstable"
11171117
build_artifacts = ["valkey-server"]

utils/tests/test_spec.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def test_extract_build_variant_variations():
2525
) as yml_file:
2626
benchmark_config = yaml.safe_load(yml_file)
2727
build_variants = extract_build_variant_variations(benchmark_config)
28-
assert "gcc:8.5.0-amd64-debian-bookworm-default" in build_variants
28+
assert "gcc:15.2.0-amd64-debian-bookworm-default" in build_variants
2929

3030

3131
def test_extract_redis_dbconfig_parameters():
@@ -35,4 +35,4 @@ def test_extract_redis_dbconfig_parameters():
3535
) as yml_file:
3636
benchmark_config = yaml.safe_load(yml_file)
3737
build_variants = extract_build_variant_variations(benchmark_config)
38-
assert "gcc:8.5.0-amd64-debian-bookworm-default" in build_variants
38+
assert "gcc:15.2.0-amd64-debian-bookworm-default" in build_variants

0 commit comments

Comments
 (0)