From 7ef78c8e2b7c99ec8eca0e272b0d6a9c86d1f093 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Mon, 19 Jun 2017 19:23:15 +0200 Subject: [PATCH] tests: Increase timeouts waiting for file notification For whatever reason .5 seconds was not enough time for me to get a file notification message, so increase it to 1 sec. --- tests/testlibrary.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testlibrary.c b/tests/testlibrary.c index 7e77e273..12c8fae4 100644 --- a/tests/testlibrary.c +++ b/tests/testlibrary.c @@ -397,7 +397,7 @@ test_install_launch_uninstall (void) g_assert (FLATPAK_IS_INSTALLED_REF (ref)); g_assert_cmpint (progress_count, >, 0); - quit_id = g_timeout_add (500, quit, NULL); + quit_id = g_timeout_add (1000, quit, loop); g_main_loop_run (loop); g_source_remove (quit_id); @@ -442,7 +442,7 @@ test_install_launch_uninstall (void) g_assert (FLATPAK_IS_INSTALLED_REF (ref)); g_assert_cmpint (progress_count, >, 0); - quit_id = g_timeout_add (500, quit, loop); + quit_id = g_timeout_add (1000, quit, loop); g_main_loop_run (loop); g_source_remove (quit_id);