Revert "gio/tests/cancellable: Explain failure on GCancellableSource tests on valgrind"

This reverts commit 365411ea32.

Since commit 3a07b2abd4, issue 2309 has
been fixed, so we should no longer have failures from valgrind here.
This commit is contained in:
Philip Withnall 2024-08-20 13:01:17 +01:00
parent 71cd903118
commit ce71da63ba
No known key found for this signature in database
GPG Key ID: DCDF5885B1F3ED73

View File

@ -25,7 +25,6 @@
#include <gio/gio.h> #include <gio/gio.h>
#include "glib/glib-private.h" #include "glib/glib-private.h"
#include "glib/gvalgrind.h"
/* How long to wait in ms for each iteration */ /* How long to wait in ms for each iteration */
#define WAIT_ITERATION (10) #define WAIT_ITERATION (10)
@ -276,11 +275,6 @@ test_cancellable_source_threaded_dispose (void)
g_test_bug ("https://gitlab.gnome.org/GNOME/glib/issues/2309"); g_test_bug ("https://gitlab.gnome.org/GNOME/glib/issues/2309");
#endif #endif
#ifdef ENABLE_VALGRIND
if (RUNNING_ON_VALGRIND)
g_test_incomplete ("FIXME: Leaks lots of GCancellableSource objects, see glib#2309");
#endif
/* Create a new thread and wait until its ready to execute. Each iteration of /* Create a new thread and wait until its ready to execute. Each iteration of
* the test will pass it a new #GCancellableSource. */ * the test will pass it a new #GCancellableSource. */
g_cond_init (&data.cond); g_cond_init (&data.cond);