mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 18:52:09 +01:00
Merge branch '2837-test-timeouts' into 'main'
tests: Increase a timeout in contexts test Closes #2837 See merge request GNOME/glib!3122
This commit is contained in:
commit
a9e8b3f7e4
@ -81,7 +81,7 @@ idle_start_test1_thread (gpointer loop)
|
|||||||
g_mutex_lock (&test1_mutex);
|
g_mutex_lock (&test1_mutex);
|
||||||
thread = g_thread_new ("test1", test1_thread, NULL);
|
thread = g_thread_new ("test1", test1_thread, NULL);
|
||||||
|
|
||||||
time = g_get_monotonic_time () + 2 * G_TIME_SPAN_SECOND;
|
time = g_get_monotonic_time () + 20 * G_TIME_SPAN_SECOND;
|
||||||
while (!test1_done)
|
while (!test1_done)
|
||||||
{
|
{
|
||||||
io_completed = g_cond_wait_until (&test1_cond, &test1_mutex, time);
|
io_completed = g_cond_wait_until (&test1_cond, &test1_mutex, time);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user