Skip to content

Commit 3e64d46

Browse files
Merge pull request #13235 from rabbitmq/mqtt-khepri-flake
Fix MQTT test flake in Khepri mixed version mode
2 parents 55ae918 + 38cba9d commit 3e64d46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

deps/rabbitmq_mqtt/test/v5_SUITE.erl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1665,7 +1665,8 @@ will_delay_node_restart(Config) ->
16651665
{ok, _, [0]} = emqtt:subscribe(Sub0a, Topic),
16661666
Sub1 = connect(<<"sub1">>, Config, 1, []),
16671667
{ok, _, [0]} = emqtt:subscribe(Sub1, Topic),
1668-
WillDelaySecs = 10,
1668+
%% In mixed version mode with Khepri, draining the node can take 30 seconds.
1669+
WillDelaySecs = 40,
16691670
C0a = connect(<<"will">>, Config, 0,
16701671
[{properties, #{'Session-Expiry-Interval' => 900}},
16711672
{will_props, #{'Will-Delay-Interval' => WillDelaySecs}},

0 commit comments

Comments
 (0)