From cd1ec6368b61521b419a42cd7c2f7267d52209cd Mon Sep 17 00:00:00 2001 From: CarlosFelipeOR Date: Tue, 25 Aug 2026 16:00:27 -0300 Subject: [PATCH] Give every test_s3_cluster instance a unique shard/replica pair so the database disk prefix is not shared Co-Authored-By: Claude Opus 5 (1M context) --- tests/integration/test_s3_cluster/test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/test_s3_cluster/test.py b/tests/integration/test_s3_cluster/test.py index 00978fb7231c..ff13f493571d 100644 --- a/tests/integration/test_s3_cluster/test.py +++ b/tests/integration/test_s3_cluster/test.py @@ -163,7 +163,8 @@ def started_cluster(): "c2.s0_0_1", main_configs=["configs/cluster.xml", "configs/named_collections.xml", "configs/hidden_clusters.xml"], user_configs=["configs/users.xml"], - macros={"replica": "replica2", "shard": "shard1"}, + # Must be unique per instance: the database disk prefix is .../test-{shard}|{replica} + macros={"replica": "replica2_c2", "shard": "shard1"}, with_zookeeper=True, stay_alive=True, )