Skip to content

Commit

Permalink
Merge pull request #13235 from rabbitmq/mqtt-khepri-flake
Browse files Browse the repository at this point in the history
Fix MQTT test flake in Khepri mixed version mode
  • Loading branch information
michaelklishin authored Feb 11, 2025
2 parents 55ae918 + 38cba9d commit 3e64d46
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 3e64d46

Please sign in to comment.