Merge pull request #13235 from rabbitmq/mqtt-khepri-flake

Fix MQTT test flake in Khepri mixed version mode
This commit is contained in:
Michael Klishin 2025-02-11 13:22:12 -05:00 committed by GitHub
commit 3e64d46c2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -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}},