mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-04 18:26:19 +01:00
Merge branch 'wip/hadess/socket-test-not-parallel' into 'master'
tests: Run "timeout tests" sequentially See merge request GNOME/glib!1239
This commit is contained in:
commit
d8c5bcbb7d
@ -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);
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user