Explorar el Código

test: unlink process which is getting shutdown

Zaiming (Stone) Shi hace 3 años
padre
commit
2afbf6a406
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      apps/emqx_authn/test/emqx_authn_SUITE.erl

+ 1 - 0
apps/emqx_authn/test/emqx_authn_SUITE.erl

@@ -98,6 +98,7 @@ t_will_message_connection_denied(Config) when is_list(Config) ->
         {will_payload, <<"should not be published">>}
     ]),
     Ref = monitor(process, Publisher),
+    _ = unlink(Publisher),
     {error, _} = emqtt:connect(Publisher),
     receive
         {'DOWN', Ref, process, Publisher, Reason} ->