From 0db4f69e39eec2944c6a9141bbad7b2919613aee Mon Sep 17 00:00:00 2001 From: Justin Weng Date: Fri, 4 Oct 2024 10:39:55 +1000 Subject: [PATCH] Fix local_shotover_broker_id in test configs (#1765) --- .../tests/test-configs/kafka/cluster-1-rack/topology2.yaml | 2 +- .../tests/test-configs/kafka/cluster-1-rack/topology3.yaml | 2 +- .../test-configs/kafka/cluster-2-racks/topology-rack2.yaml | 2 +- .../tests/test-configs/kafka/cluster-sasl-plain/topology2.yaml | 2 +- .../tests/test-configs/kafka/cluster-sasl-plain/topology3.yaml | 2 +- .../kafka/cluster-sasl-scram-over-mtls/topology2.yaml | 2 +- .../kafka/cluster-sasl-scram-over-mtls/topology3.yaml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/shotover-proxy/tests/test-configs/kafka/cluster-1-rack/topology2.yaml b/shotover-proxy/tests/test-configs/kafka/cluster-1-rack/topology2.yaml index 2f44f6c26..d66c887b1 100644 --- a/shotover-proxy/tests/test-configs/kafka/cluster-1-rack/topology2.yaml +++ b/shotover-proxy/tests/test-configs/kafka/cluster-1-rack/topology2.yaml @@ -15,6 +15,6 @@ sources: - address: "127.0.0.1:9193" rack: "rack0" broker_id: 2 - local_shotover_broker_id: 0 + local_shotover_broker_id: 1 first_contact_points: ["172.16.1.2:9092"] connect_timeout_ms: 3000 diff --git a/shotover-proxy/tests/test-configs/kafka/cluster-1-rack/topology3.yaml b/shotover-proxy/tests/test-configs/kafka/cluster-1-rack/topology3.yaml index 38d859249..c3e5ad277 100644 --- a/shotover-proxy/tests/test-configs/kafka/cluster-1-rack/topology3.yaml +++ b/shotover-proxy/tests/test-configs/kafka/cluster-1-rack/topology3.yaml @@ -15,6 +15,6 @@ sources: - address: "127.0.0.1:9193" rack: "rack0" broker_id: 2 - local_shotover_broker_id: 0 + local_shotover_broker_id: 2 first_contact_points: ["172.16.1.2:9092"] connect_timeout_ms: 3000 diff --git a/shotover-proxy/tests/test-configs/kafka/cluster-2-racks/topology-rack2.yaml b/shotover-proxy/tests/test-configs/kafka/cluster-2-racks/topology-rack2.yaml index 7f5396962..51a359925 100644 --- a/shotover-proxy/tests/test-configs/kafka/cluster-2-racks/topology-rack2.yaml +++ b/shotover-proxy/tests/test-configs/kafka/cluster-2-racks/topology-rack2.yaml @@ -12,6 +12,6 @@ sources: - address: "localhost:9192" rack: "rack2" broker_id: 1 - local_shotover_broker_id: 0 + local_shotover_broker_id: 1 first_contact_points: ["172.16.1.5:9092"] connect_timeout_ms: 3000 diff --git a/shotover-proxy/tests/test-configs/kafka/cluster-sasl-plain/topology2.yaml b/shotover-proxy/tests/test-configs/kafka/cluster-sasl-plain/topology2.yaml index 2f44f6c26..d66c887b1 100644 --- a/shotover-proxy/tests/test-configs/kafka/cluster-sasl-plain/topology2.yaml +++ b/shotover-proxy/tests/test-configs/kafka/cluster-sasl-plain/topology2.yaml @@ -15,6 +15,6 @@ sources: - address: "127.0.0.1:9193" rack: "rack0" broker_id: 2 - local_shotover_broker_id: 0 + local_shotover_broker_id: 1 first_contact_points: ["172.16.1.2:9092"] connect_timeout_ms: 3000 diff --git a/shotover-proxy/tests/test-configs/kafka/cluster-sasl-plain/topology3.yaml b/shotover-proxy/tests/test-configs/kafka/cluster-sasl-plain/topology3.yaml index 38d859249..c3e5ad277 100644 --- a/shotover-proxy/tests/test-configs/kafka/cluster-sasl-plain/topology3.yaml +++ b/shotover-proxy/tests/test-configs/kafka/cluster-sasl-plain/topology3.yaml @@ -15,6 +15,6 @@ sources: - address: "127.0.0.1:9193" rack: "rack0" broker_id: 2 - local_shotover_broker_id: 0 + local_shotover_broker_id: 2 first_contact_points: ["172.16.1.2:9092"] connect_timeout_ms: 3000 diff --git a/shotover-proxy/tests/test-configs/kafka/cluster-sasl-scram-over-mtls/topology2.yaml b/shotover-proxy/tests/test-configs/kafka/cluster-sasl-scram-over-mtls/topology2.yaml index 0d3edd835..84e827027 100644 --- a/shotover-proxy/tests/test-configs/kafka/cluster-sasl-scram-over-mtls/topology2.yaml +++ b/shotover-proxy/tests/test-configs/kafka/cluster-sasl-scram-over-mtls/topology2.yaml @@ -15,7 +15,7 @@ sources: - address: "127.0.0.1:9193" rack: "rack0" broker_id: 2 - local_shotover_broker_id: 0 + local_shotover_broker_id: 1 first_contact_points: ["172.16.1.2:9092"] authorize_scram_over_mtls: # every shotover node purposefully tests a different number of contact points diff --git a/shotover-proxy/tests/test-configs/kafka/cluster-sasl-scram-over-mtls/topology3.yaml b/shotover-proxy/tests/test-configs/kafka/cluster-sasl-scram-over-mtls/topology3.yaml index 2a188f9e9..ce8129637 100644 --- a/shotover-proxy/tests/test-configs/kafka/cluster-sasl-scram-over-mtls/topology3.yaml +++ b/shotover-proxy/tests/test-configs/kafka/cluster-sasl-scram-over-mtls/topology3.yaml @@ -15,7 +15,7 @@ sources: - address: "127.0.0.1:9193" rack: "rack0" broker_id: 2 - local_shotover_broker_id: 0 + local_shotover_broker_id: 2 first_contact_points: ["172.16.1.2:9092"] authorize_scram_over_mtls: # every shotover node purposefully tests a different number of contact points