From 5203ee6a847066be0a71cef0a7795f5617434ba3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 6 Apr 2020 12:27:41 +0200 Subject: Increase the req_SUITE timetrap timeout on Windows The local network is much slower so the tests take longer there. --- test/req_SUITE.erl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test') 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(). -- cgit v1.2.3