mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 23:46:17 +01:00
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:
parent
20c4fcb2a7
commit
1507585869
@ -1621,6 +1621,10 @@ test_source_postmortem (void)
|
|||||||
static void
|
static void
|
||||||
test_reuse_tcp (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;
|
GSocket *sock1, *sock2;
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
GInetAddress *iaddr;
|
GInetAddress *iaddr;
|
||||||
@ -1657,6 +1661,7 @@ test_reuse_tcp (void)
|
|||||||
|
|
||||||
g_object_unref (sock1);
|
g_object_unref (sock1);
|
||||||
g_object_unref (sock2);
|
g_object_unref (sock2);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user