From f7f16074781cf7d2f26e13e399b34d9313ca1583 Mon Sep 17 00:00:00 2001 From: tesla59 Date: Mon, 17 Jun 2024 13:49:56 +0530 Subject: [PATCH] Remove -distributor.shard-by-all-labels from tests Signed-off-by: tesla59 --- integration/ingester_limits_test.go | 1 - integration/ingester_sharding_test.go | 1 - integration/zone_aware_test.go | 2 -- 3 files changed, 4 deletions(-) diff --git a/integration/ingester_limits_test.go b/integration/ingester_limits_test.go index e94c83d5bfc..682797371f2 100644 --- a/integration/ingester_limits_test.go +++ b/integration/ingester_limits_test.go @@ -49,7 +49,6 @@ func TestIngesterGlobalLimits(t *testing.T) { flags := BlocksStorageFlags() flags["-distributor.replication-factor"] = "1" - flags["-distributor.shard-by-all-labels"] = "true" flags["-distributor.sharding-strategy"] = testData.shardingStrategy flags["-distributor.ingestion-tenant-shard-size"] = strconv.Itoa(testData.tenantShardSize) flags["-ingester.max-series-per-user"] = "0" diff --git a/integration/ingester_sharding_test.go b/integration/ingester_sharding_test.go index aeffc1f0cca..633cdb4e7cf 100644 --- a/integration/ingester_sharding_test.go +++ b/integration/ingester_sharding_test.go @@ -58,7 +58,6 @@ func TestIngesterSharding(t *testing.T) { defer s.Close() flags := BlocksStorageFlags() - flags["-distributor.shard-by-all-labels"] = "true" flags["-distributor.sharding-strategy"] = testData.shardingStrategy flags["-distributor.ingestion-tenant-shard-size"] = strconv.Itoa(testData.tenantShardSize) diff --git a/integration/zone_aware_test.go b/integration/zone_aware_test.go index a2e983eb9b9..59519a9db92 100644 --- a/integration/zone_aware_test.go +++ b/integration/zone_aware_test.go @@ -26,7 +26,6 @@ func TestZoneAwareReplication(t *testing.T) { defer s.Close() flags := BlocksStorageFlags() - flags["-distributor.shard-by-all-labels"] = "true" flags["-distributor.replication-factor"] = "3" flags["-distributor.zone-awareness-enabled"] = "true" @@ -158,7 +157,6 @@ func TestZoneResultsQuorum(t *testing.T) { defer s.Close() flags := BlocksStorageFlags() - flags["-distributor.shard-by-all-labels"] = "true" flags["-distributor.replication-factor"] = "3" flags["-distributor.zone-awareness-enabled"] = "true"