0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 04:10:24 +00:00

Increase the req_SUITE timetrap timeout on Windows

The local network is much slower so the tests take longer there.
This commit is contained in:
Loïc Hoguin 2020-04-06 12:27:41 +02:00
parent cc8a2e4257
commit 5203ee6a84
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764

View file

@ -23,7 +23,11 @@
%% ct.
suite() ->
[{timetrap, 30000}].
Timeout = case os:type() of
{win32, _} -> 60000;
_ -> 30000
end,
[{timetrap, Timeout}].
all() ->
cowboy_test:common_all().