From 2528afafdde9c9d14feb7f2630d04a1f0999d7af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=A4rtens?= Date: Sun, 30 Jan 2022 21:42:59 +0100 Subject: [PATCH] deactivate tests in CI, as they have often no IPv6 configured and would fail in that case --- network/tests/integration.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/network/tests/integration.rs b/network/tests/integration.rs index 0ee4e76b7f..84d54d6211 100644 --- a/network/tests/integration.rs +++ b/network/tests/integration.rs @@ -266,7 +266,15 @@ fn multiple_try_recv() { /// If we listen on a IPv6 UNSPECIFIED address, on linux it will automatically /// listen on the respective IPv4 address. This must not be as we should behave /// similar under windows and linux. +/// +/// As most CI servers don't have IPv6 configured, this would return +/// ConnectFailed(Io(Os { code: 99, kind: AddrNotAvailable, message: "Cannot +/// assign requested address" })) we have to disable this test in CI, but it was +/// manually tested on linux and windows +/// +/// On Windows this test must be executed as root to listen on IPv6::UNSPECIFIED #[test] +#[ignore] fn listen_on_ipv6_doesnt_block_ipv4() { let (_, _) = helper::setup(false, 0); let tcpv4 = tcp();