forked from Mirrors/flatpak-builder
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
parent
0bbb8354dc
commit
7ef78c8e2b
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue