From bcaec00e7ac761124a2d7da11fa6db26c290f4d1 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Fri, 11 Aug 2017 13:24:48 +0100 Subject: [PATCH] tests: Increase timeout values in testlibrary 1s is apparently not enough to install the test application on my machine. Signed-off-by: Philip Withnall --- tests/testlibrary.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testlibrary.c b/tests/testlibrary.c index e5a1f372..60bd167a 100644 --- a/tests/testlibrary.c +++ b/tests/testlibrary.c @@ -414,7 +414,7 @@ test_install_launch_uninstall (void) g_assert (FLATPAK_IS_INSTALLED_REF (ref)); g_assert_cmpint (progress_count, >, 0); - timeout_id = g_timeout_add (1000, timeout_cb, &timeout_reached); + timeout_id = g_timeout_add (20000, timeout_cb, &timeout_reached); while (!timeout_reached && changed_count == 0) g_main_context_iteration (NULL, TRUE); g_source_remove (timeout_id); @@ -464,7 +464,7 @@ test_install_launch_uninstall (void) g_assert (FLATPAK_IS_INSTALLED_REF (ref)); g_assert_cmpint (progress_count, >, 0); - timeout_id = g_timeout_add (1000, timeout_cb, &timeout_reached); + timeout_id = g_timeout_add (20000, timeout_cb, &timeout_reached); while (!timeout_reached && changed_count == 0) g_main_context_iteration (NULL, TRUE); g_source_remove (timeout_id);