diff --git a/gio/tests/cancellable.c b/gio/tests/cancellable.c index 044628228..cd349a8f3 100644 --- a/gio/tests/cancellable.c +++ b/gio/tests/cancellable.c @@ -188,6 +188,12 @@ test_cancel_multiple_concurrent (void) GCancellable *cancellable; guint i, iterations; + if (!g_test_thorough ()) + { + g_test_skip ("Not running timing heavy test"); + return; + } + cancellable = g_cancellable_new (); loop = g_main_loop_new (NULL, FALSE); diff --git a/gio/tests/socket.c b/gio/tests/socket.c index eeebddd62..f1651972f 100644 --- a/gio/tests/socket.c +++ b/gio/tests/socket.c @@ -1130,6 +1130,12 @@ test_timed_wait (void) gint64 start_time; gint poll_duration; + if (!g_test_thorough ()) + { + g_test_skip ("Not running timing heavy test"); + return; + } + data = create_server (G_SOCKET_FAMILY_IPV4, echo_server_thread, FALSE, &error); if (error != NULL) {