0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00

Increase a test timeout to get rid of intermittent failures

This commit is contained in:
Loïc Hoguin 2018-11-20 10:45:14 +01:00
parent 031b421732
commit d12e0b55dc
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764

View file

@ -552,7 +552,7 @@ do_read_urlencoded_body_too_long(Path, Body, Config) ->
{<<"content-length">>, integer_to_binary(byte_size(Body) * 2)}
]),
gun:data(ConnPid, Ref, nofin, Body),
timer:sleep(1100),
timer:sleep(2000),
gun:data(ConnPid, Ref, fin, Body),
{response, _, 408, RespHeaders} = gun:await(ConnPid, Ref),
_ = case config(protocol, Config) of