aboutsummaryrefslogtreecommitdiffstats
path: root/test/handlers
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-11-01 19:24:24 +0000
committerLoïc Hoguin <[email protected]>2017-11-01 19:24:42 +0000
commitaf58babd940f0add48c9ff6e47a4196f91417728 (patch)
tree5548fa892a2b4513314a656850a030e21364217a /test/handlers
parent5bb6438e10ae6b620b88f8d9989e6f6c0d252f34 (diff)
downloadcowboy-af58babd940f0add48c9ff6e47a4196f91417728.tar.gz
cowboy-af58babd940f0add48c9ff6e47a4196f91417728.tar.bz2
cowboy-af58babd940f0add48c9ff6e47a4196f91417728.zip
Fix stream_handler_SUITE test failures
Diffstat (limited to 'test/handlers')
-rw-r--r--test/handlers/stream_handler_h.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/handlers/stream_handler_h.erl b/test/handlers/stream_handler_h.erl
index 501c509..7aa3195 100644
--- a/test/handlers/stream_handler_h.erl
+++ b/test/handlers/stream_handler_h.erl
@@ -81,7 +81,7 @@ info(StreamID, Info, State=#state{pid=Pid}) ->
Pid ! {Pid, self(), info, StreamID, Info, State},
case Info of
please_stop -> {[stop], State};
- _ -> {[], State}
+ _ -> {[Info], State}
end.
terminate(StreamID, Reason, State=#state{pid=Pid, test=crash_in_terminate}) ->