tests: Temporarily disable socket test due to a kernel bug

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 <pwithnall@endlessos.org>

Helps: #2879
This commit is contained in:
Philip Withnall 2023-01-24 11:46:25 +00:00
parent 20c4fcb2a7
commit 1507585869

View File

@ -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