diff options
author | Loïc Hoguin <[email protected]> | 2017-10-06 14:41:03 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-10-06 14:41:03 +0200 |
commit | f4ad4c4742c76a5a100e13b07de7419cbc27dc6b (patch) | |
tree | 6f780aa681f54598c17bda7cb6efaf057b9d7ddc /test/gun_SUITE.erl | |
parent | b42c40225a6be792aa0706bdeefabc6691ae5c2d (diff) | |
download | gun-f4ad4c4742c76a5a100e13b07de7419cbc27dc6b.tar.gz gun-f4ad4c4742c76a5a100e13b07de7419cbc27dc6b.tar.bz2 gun-f4ad4c4742c76a5a100e13b07de7419cbc27dc6b.zip |
Don't error out when the owner is gone normally
Diffstat (limited to 'test/gun_SUITE.erl')
-rw-r--r-- | test/gun_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gun_SUITE.erl b/test/gun_SUITE.erl index a7e2169..9f003e8 100644 --- a/test/gun_SUITE.erl +++ b/test/gun_SUITE.erl @@ -57,7 +57,7 @@ detect_owner_gone(_) -> end, Ref = monitor(process, Pid), receive - {'DOWN', Ref, process, Pid, {{owner_gone, _}, _}} -> + {'DOWN', Ref, process, Pid, normal} -> ok after 1000 -> true = erlang:is_process_alive(Pid), @@ -86,7 +86,7 @@ detect_owner_gone_ws(_) -> end, Ref = monitor(process, Pid), receive - {'DOWN', Ref, process, Pid, {{owner_gone, _}, _}} -> + {'DOWN', Ref, process, Pid, normal} -> ok after 1000 -> true = erlang:is_process_alive(Pid), |