Skip to content

Commit 00749c4

Browse files
Merge pull request #15923 from rabbitmq/mk-test-flake-fixes-apr-1-2026-round-2
Test flake chase: make sure proxies have `kernel.prevent_overlapping_partitions` set to `false`
2 parents 9695799 + 1926ff6 commit 00749c4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

deps/rabbit/test/clustering_recovery_SUITE.erl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,11 +354,17 @@ start_proxies(Config) ->
354354
%% goal is to make sure the common_test control node doesn't interfere
355355
%% with the nodes the RabbitMQ nodes can see, despite the blocking of the
356356
%% Erlang distribution connection.
357+
%%
358+
%% Prevent `global' from disconnecting proxy nodes during
359+
%% deliberately created partitions.
357360
Nodes = rabbit_ct_broker_helpers:get_node_configs(Config, nodename),
358361
Proxies0 = [begin
359362
{ok, Proxy, PeerNode} = peer:start_link(
360363
#{name => peer:random_name(),
361364
connection => standard_io,
365+
args => ["-kernel",
366+
"prevent_overlapping_partitions",
367+
"false"],
362368
wait_boot => 120000}),
363369
ct:pal("Proxy ~0p -> ~0p", [Proxy, PeerNode]),
364370
Proxy

0 commit comments

Comments
 (0)