From c3408e605e7707481d64df2d55099249ac21542c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 9 Jan 2023 13:17:26 +0100 Subject: Skip degraded configuration test on Windows --- test/pool_SUITE.erl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/pool_SUITE.erl b/test/pool_SUITE.erl index 3105aa6..1289415 100644 --- a/test/pool_SUITE.erl +++ b/test/pool_SUITE.erl @@ -383,6 +383,14 @@ stop_pool(Config) -> gun_pool:stop_pool("localhost", Port, #{scope => ?FUNCTION_NAME}). degraded_configuration_error(Config) -> + case os:type() of + {win32, _} -> + {skip, "The initial connect timeout on Windows is too large."}; + _ -> + do_degraded_configuration_error(Config) + end. + +do_degraded_configuration_error(Config) -> doc("Confirm the pool ends up in a degraded state " "when connection is impossible because of bad configuration."), Port = config(port, Config), -- cgit v1.2.3