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:
parent
cc8a2e4257
commit
5203ee6a84
1 changed files with 5 additions and 1 deletions
|
@ -23,7 +23,11 @@
|
|||
%% ct.
|
||||
|
||||
suite() ->
|
||||
[{timetrap, 30000}].
|
||||
Timeout = case os:type() of
|
||||
{win32, _} -> 60000;
|
||||
_ -> 30000
|
||||
end,
|
||||
[{timetrap, Timeout}].
|
||||
|
||||
all() ->
|
||||
cowboy_test:common_all().
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue