Skip to content

Commit fa61266

Browse files
authored
Merge pull request #12689 from rabbitmq/mqtt_flake_management_plugin_connection
Fix MQTT test flake management_plugin_connection
2 parents 9095f7d + 090384f commit fa61266

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/rabbitmq_mqtt/test/mqtt_shared_SUITE.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,7 @@ management_plugin_connection(Config) ->
12141214
"/connections/" ++ binary_to_list(uri_string:quote(ConnectionName)),
12151215
?NO_CONTENT),
12161216
await_exit(C1),
1217-
?assertEqual([], http_get(Config, "/connections")),
1217+
eventually(?_assertEqual([], http_get(Config, "/connections"))),
12181218
eventually(?_assertEqual([], all_connection_pids(Config)), 500, 3),
12191219

12201220
C2 = connect(ClientId, Config, [{keepalive, KeepaliveSecs}]),
@@ -1223,7 +1223,7 @@ management_plugin_connection(Config) ->
12231223
"/connections/username/guest",
12241224
?NO_CONTENT),
12251225
await_exit(C2),
1226-
?assertEqual([], http_get(Config, "/connections")),
1226+
eventually(?_assertEqual([], http_get(Config, "/connections"))),
12271227
eventually(?_assertEqual([], all_connection_pids(Config)), 500, 3).
12281228

12291229
management_plugin_enable(Config) ->

0 commit comments

Comments
 (0)