aboutsummaryrefslogtreecommitdiffstats
path: root/test/handlers/long_polling_sys_h.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/handlers/long_polling_sys_h.erl')
-rw-r--r--test/handlers/long_polling_sys_h.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/handlers/long_polling_sys_h.erl b/test/handlers/long_polling_sys_h.erl
index 7745d8c..8f85758 100644
--- a/test/handlers/long_polling_sys_h.erl
+++ b/test/handlers/long_polling_sys_h.erl
@@ -10,7 +10,7 @@
init(Req, _) ->
process_flag(trap_exit, true),
erlang:send_after(500, self(), timeout),
- {cowboy_loop, Req, undefined, hibernate}.
+ {cowboy_loop, Req, undefined}.
info(timeout, Req, State) ->
%% Send an unused status code to make sure there's no
@@ -19,5 +19,5 @@ info(timeout, Req, State) ->
info(_, Req, State) ->
{ok, Req, State}.
-terminate({crash, _, _}, _, _) ->
+terminate(_, _, _) ->
ok.