mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
tests: Increase a timeout in contexts test
The timeout is just to stop the test hanging forever, so there’s no need for it to be so short. It’s caused at least one spurious CI failure: https://gitlab.gnome.org/GNOME/glib/-/jobs/2445023. Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Fixes: #2837
This commit is contained in:
@@ -81,7 +81,7 @@ idle_start_test1_thread (gpointer loop)
|
||||
g_mutex_lock (&test1_mutex);
|
||||
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)
|
||||
{
|
||||
io_completed = g_cond_wait_until (&test1_cond, &test1_mutex, time);
|
||||
|
Reference in New Issue
Block a user