test: unlink process which is getting shutdown
This commit is contained in:
parent
4a7e74f5d6
commit
2afbf6a406
|
@ -98,6 +98,7 @@ t_will_message_connection_denied(Config) when is_list(Config) ->
|
||||||
{will_payload, <<"should not be published">>}
|
{will_payload, <<"should not be published">>}
|
||||||
]),
|
]),
|
||||||
Ref = monitor(process, Publisher),
|
Ref = monitor(process, Publisher),
|
||||||
|
_ = unlink(Publisher),
|
||||||
{error, _} = emqtt:connect(Publisher),
|
{error, _} = emqtt:connect(Publisher),
|
||||||
receive
|
receive
|
||||||
{'DOWN', Ref, process, Publisher, Reason} ->
|
{'DOWN', Ref, process, Publisher, Reason} ->
|
||||||
|
|
Loading…
Reference in New Issue