From 15075858697d06515d8af20b34ee2d049dc87b4c Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Tue, 24 Jan 2023 11:46:25 +0000 Subject: [PATCH] tests: Temporarily disable socket test due to a kernel bug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There’s a kernel bug on the CI machines which is causing this test to fail all the time and it’s getting my goat. The test can be re-enabled later (by reverting this commit) when the kernel on the CI VM host is fixed. I don’t know when that’s going to happen. Signed-off-by: Philip Withnall Helps: #2879 --- gio/tests/socket.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gio/tests/socket.c b/gio/tests/socket.c index c1c1bcf41..e7aadbd63 100644 --- a/gio/tests/socket.c +++ b/gio/tests/socket.c @@ -1621,6 +1621,10 @@ test_source_postmortem (void) static void test_reuse_tcp (void) { +#if 1 + g_test_skip ("Test is currently failing due to a kernel bug; see https://gitlab.gnome.org/GNOME/glib/-/issues/2879"); + return; +#else GSocket *sock1, *sock2; GError *error = NULL; GInetAddress *iaddr; @@ -1657,6 +1661,7 @@ test_reuse_tcp (void) g_object_unref (sock1); g_object_unref (sock2); +#endif } static void