diff options
Diffstat (limited to 'test/ws_handler_SUITE.erl')
-rw-r--r-- | test/ws_handler_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ws_handler_SUITE.erl b/test/ws_handler_SUITE.erl index 8c45dc7..67d50d2 100644 --- a/test/ws_handler_SUITE.erl +++ b/test/ws_handler_SUITE.erl @@ -281,7 +281,7 @@ websocket_set_options_idle_timeout(Config) -> %% the connection gets closed soon after. gun:ws_send(ConnPid, {text, <<"idle_timeout_short">>}), receive - {gun_down, ConnPid, _, _, _, _} -> + {gun_down, ConnPid, _, _, _} -> ok after 2000 -> error(timeout) |