aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-04-06 12:27:41 +0200
committerLoïc Hoguin <[email protected]>2020-04-06 12:27:41 +0200
commit5203ee6a847066be0a71cef0a7795f5617434ba3 (patch)
tree6c01fd93201ef8a42c2a48246b6543e8d7522d00
parentcc8a2e4257da2a2d2a3e3ef97d4f6e2ecfdace12 (diff)
downloadcowboy-5203ee6a847066be0a71cef0a7795f5617434ba3.tar.gz
cowboy-5203ee6a847066be0a71cef0a7795f5617434ba3.tar.bz2
cowboy-5203ee6a847066be0a71cef0a7795f5617434ba3.zip
Increase the req_SUITE timetrap timeout on Windows
The local network is much slower so the tests take longer there.
-rw-r--r--test/req_SUITE.erl6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/req_SUITE.erl b/test/req_SUITE.erl
index f57908c..5318840 100644
--- a/test/req_SUITE.erl
+++ b/test/req_SUITE.erl
@@ -23,7 +23,11 @@
%% ct.
suite() ->
- [{timetrap, 30000}].
+ Timeout = case os:type() of
+ {win32, _} -> 60000;
+ _ -> 30000
+ end,
+ [{timetrap, Timeout}].
all() ->
cowboy_test:common_all().