From 410a6c16abbee6c0b1fb973092a06771fd79bc07 Mon Sep 17 00:00:00 2001 From: Diana Parra Corbacho Date: Wed, 20 Nov 2024 15:41:13 +0100 Subject: [PATCH] WIP auth_SUITE test logs --- deps/rabbitmq_mqtt/test/auth_SUITE.erl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/deps/rabbitmq_mqtt/test/auth_SUITE.erl b/deps/rabbitmq_mqtt/test/auth_SUITE.erl index 72a9be72609..c53f5633964 100644 --- a/deps/rabbitmq_mqtt/test/auth_SUITE.erl +++ b/deps/rabbitmq_mqtt/test/auth_SUITE.erl @@ -585,7 +585,12 @@ client_id_from_cert_dn(Config) -> ?assertEqual(ExpectedClientId, proplists:get_value(client_id, AuthProps)), ok = emqtt:disconnect(C). -invalid_client_id_from_cert_san_dns(Config) -> +invalid_client_id_from_cert_san_dns(Config) -> + Conn1 = rpc(Config, 0, rabbit_networking, list_local_connections_of_protocol, ['mqtt']), + Conn2 = rpc(Config, 0, rabbit_networking, list_local_connections_of_protocol, ['mqtt/ssl']), + Conns = Conn1 ++ Conn2, + ct:pal("INVALID_CLIENT_ID_FROM_CERT_SAN_DNS connections before: ~n~p", + [Conns]), MqttClientId = <<"other_client_id">>, {ok, C} = connect_ssl(MqttClientId, Config), ?assertMatch({error, _}, emqtt:connect(C)),