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.
tingping/wmclass
Alexander Larsson 2017-06-19 19:23:15 +02:00
parent 0bbb8354dc
commit 7ef78c8e2b
1 changed files with 2 additions and 2 deletions

View File

@ -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);