mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-29 10:01:18 -05:00
tests: Increase timeout values in testlibrary
1s is apparently not enough to install the test application on my machine. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
committed by
Alexander Larsson
parent
f1dbe9bc50
commit
bcaec00e7a
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user