diff options
author | Loïc Hoguin <[email protected]> | 2013-01-22 14:22:28 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2013-01-22 14:22:28 +0100 |
commit | 3b8a1365d15ef6690160292902cf3fd1fd523fc9 (patch) | |
tree | e096d121fa98df1ea1355d6384bd1a7a4dc7599e /test/chunked_handler.erl | |
parent | 647e95aed157edd58c86acdd774048593eb9d039 (diff) | |
download | cowboy-3b8a1365d15ef6690160292902cf3fd1fd523fc9.tar.gz cowboy-3b8a1365d15ef6690160292902cf3fd1fd523fc9.tar.bz2 cowboy-3b8a1365d15ef6690160292902cf3fd1fd523fc9.zip |
Do not require inets for running tests anymore
Diffstat (limited to 'test/chunked_handler.erl')
-rw-r--r-- | test/chunked_handler.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/chunked_handler.erl b/test/chunked_handler.erl index 4a43c1a..e486afe 100644 --- a/test/chunked_handler.erl +++ b/test/chunked_handler.erl @@ -9,7 +9,9 @@ init({_Transport, http}, Req, _Opts) -> handle(Req, State) -> {ok, Req2} = cowboy_req:chunked_reply(200, Req), + timer:sleep(100), cowboy_req:chunk("chunked_handler\r\n", Req2), + timer:sleep(100), cowboy_req:chunk("works fine!", Req2), {ok, Req2, State}. |