Commit aa37129
Fix MQTT test flake management_plugin_connection
Prior to this commit this test flaked in CI:
```
=== === Reason: {assertEqual,
[{module,mqtt_shared_SUITE},
{line,1222},
{expression,"http_get ( Config , \"/connections\" )"},
{expected,[]},
{value,
[#{timeout => 99,
name => <<"127.0.0.1:58712 -> 127.0.0.1:29005">>,
node =>
<<"rmq-ct-mqtt-cluster_size_1-1-29000@localhost">>,
port => 29005,user => <<"guest">>,ssl => false,
protocol => <<"MQTT 5-0">>,
host => <<"127.0.0.1">>,
client_properties =>
#{client_id =>
<<"management_plugin_connection">>},
vhost => <<"/">>,peer_host => <<"127.0.0.1">>,
peer_port => 58712,frame_max => 0,
channel_max => 0,auth_mechanism => <<"none">>,
connected_at => 1730797370048,
ssl_protocol => null,ssl_key_exchange => null,
ssl_cipher => null,ssl_hash => null,
peer_cert_issuer => null,
peer_cert_subject => null,
peer_cert_validity => null,
user_who_performed_action => <<"guest">>}]}]}
in function mqtt_shared_SUITE:management_plugin_connection/1 (mqtt_shared_SUITE.erl, line 1222)
in call from test_server:ts_tc/3 (test_server.erl, line 1793)
in call from test_server:run_test_case_eval1/6 (test_server.erl, line 1302)
in call from test_server:run_test_case_eval/9 (test_server.erl, line 1234)
```
(cherry picked from commit 090384f)1 parent 24cbca1 commit aa37129
File tree
1 file changed
+2
-2
lines changed- deps/rabbitmq_mqtt/test
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1198 | 1198 | | |
1199 | 1199 | | |
1200 | 1200 | | |
1201 | | - | |
| 1201 | + | |
1202 | 1202 | | |
1203 | 1203 | | |
1204 | 1204 | | |
| |||
1207 | 1207 | | |
1208 | 1208 | | |
1209 | 1209 | | |
1210 | | - | |
| 1210 | + | |
1211 | 1211 | | |
1212 | 1212 | | |
1213 | 1213 | | |
| |||
0 commit comments