Skip to content

Commit

Permalink
WIP auth_SUITE test logs
Browse files Browse the repository at this point in the history
  • Loading branch information
dcorbacho committed Nov 22, 2024
1 parent 701a422 commit 410a6c1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion deps/rabbitmq_mqtt/test/auth_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand Down

0 comments on commit 410a6c1

Please sign in to comment.