Skip to content

Commit

Permalink
Merge pull request #12692 from rabbitmq/mergify/bp/v4.0.x/pr-12689
Browse files Browse the repository at this point in the history
Fix MQTT test flake management_plugin_connection (backport #12689)
  • Loading branch information
ansd authored Nov 8, 2024
2 parents 24cbca1 + aa37129 commit 6d4e1c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deps/rabbitmq_mqtt/test/shared_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,7 @@ management_plugin_connection(Config) ->
"/connections/" ++ binary_to_list(uri_string:quote(ConnectionName)),
?NO_CONTENT),
await_exit(C1),
?assertEqual([], http_get(Config, "/connections")),
eventually(?_assertEqual([], http_get(Config, "/connections"))),
eventually(?_assertEqual([], all_connection_pids(Config)), 500, 3),

C2 = connect(ClientId, Config, [{keepalive, KeepaliveSecs}]),
Expand All @@ -1207,7 +1207,7 @@ management_plugin_connection(Config) ->
"/connections/username/guest",
?NO_CONTENT),
await_exit(C2),
?assertEqual([], http_get(Config, "/connections")),
eventually(?_assertEqual([], http_get(Config, "/connections"))),
eventually(?_assertEqual([], all_connection_pids(Config)), 500, 3).

management_plugin_enable(Config) ->
Expand Down

0 comments on commit 6d4e1c2

Please # to comment.