Explorar o código

chore: add more info in test log

Zaiming Shi %!s(int64=4) %!d(string=hai) anos
pai
achega
b8e271a588
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      apps/emqx_web_hook/test/emqx_web_hook_SUITE.erl

+ 2 - 2
apps/emqx_web_hook/test/emqx_web_hook_SUITE.erl

@@ -168,8 +168,8 @@ validate_params_and_headers(ClientState, ClientId) ->
                 end
             catch
                 throw : {unknown_client, Other} ->
-                    ct:pal("ignored_event_from_other_client ~p~n~p~n~p",
-                           [Other, Params, Headers]),
+                    ct:pal("ignored_event_from_other_client ~p~nexpecting:~p~n~p~n~p",
+                           [Other, ClientId, Params, Headers]),
                     validate_params_and_headers(ClientState, ClientId) %% continue looping
             end
     after