mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-08 18:24:04 +02:00
Revert "Revert "tests: Temporarily disable socket test due to a kernel bug""
This reverts commit27bee8fe5d
. Inevitably, despite testing the CI multiple times before merging commit27bee8fe
, 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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user