Revert "Revert "tests: Temporarily disable socket test due to a kernel bug""

This reverts commit 27bee8fe5d.

Inevitably, despite testing the CI multiple times before merging commit
27bee8fe, the CI is now failing again in the `socket` test due to (what
I continue to assume is) the kernel regression:

https://gitlab.gnome.org/martinpitt/glib/-/jobs/2585332

In order to unblock development on `main` expediently, I guess I’ll just
revert the revert.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Reopens: #2879
This commit is contained in:
Philip Withnall 2023-02-15 13:21:30 +00:00
parent 0816156cfe
commit bde724e5ac

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