Permalink
Browse files

Raise the timeout again, the test fails on slow machines...

  • Loading branch information...
1 parent 6f7c563 commit 0fd4a6e3601905debf89316440986bb8703f8c45 @oscarh committed Sep 7, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/lhttpc_tests.erl
View
@@ -663,14 +663,14 @@ ssl_post() ->
ssl_chunked() ->
Port = start(ssl, [fun chunked_response/5, fun chunked_response_t/5]),
URL = ssl_url(Port, "/ssl_chunked"),
- FirstResult = lhttpc:request(URL, get, [], 100),
+ FirstResult = lhttpc:request(URL, get, [], 1000),
?assertMatch({ok, _}, FirstResult),
{ok, FirstResponse} = FirstResult,
?assertEqual({200, "OK"}, status(FirstResponse)),
?assertEqual(<<?DEFAULT_STRING>>, body(FirstResponse)),
?assertEqual("chunked", lhttpc_lib:header_value("transfer-encoding",
headers(FirstResponse))),
- SecondResult = lhttpc:request(URL, get, [], 100),
+ SecondResult = lhttpc:request(URL, get, [], 1000),
{ok, SecondResponse} = SecondResult,
?assertEqual({200, "OK"}, status(SecondResponse)),
?assertEqual(<<"Again, great success!">>, body(SecondResponse)),

0 comments on commit 0fd4a6e

Please sign in to comment.