Skip to content

Commit

Permalink
Merge pull request #13238 from rabbitmq/mergify/bp/v4.1.x/pr-13235
Browse files Browse the repository at this point in the history
Fix MQTT test flake in Khepri mixed version mode (backport #13235)
  • Loading branch information
michaelklishin authored Feb 11, 2025
2 parents 5d530a4 + fa8669f commit 4c4a728
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deps/rabbitmq_mqtt/test/v5_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1665,7 +1665,8 @@ will_delay_node_restart(Config) ->
{ok, _, [0]} = emqtt:subscribe(Sub0a, Topic),
Sub1 = connect(<<"sub1">>, Config, 1, []),
{ok, _, [0]} = emqtt:subscribe(Sub1, Topic),
WillDelaySecs = 10,
%% In mixed version mode with Khepri, draining the node can take 30 seconds.
WillDelaySecs = 40,
C0a = connect(<<"will">>, Config, 0,
[{properties, #{'Session-Expiry-Interval' => 900}},
{will_props, #{'Will-Delay-Interval' => WillDelaySecs}},
Expand Down

0 comments on commit 4c4a728

Please sign in to comment.