1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-16 11:43:08 +00:00

Make sure all check_screen calls have explicit timeout

Upstream is gonna change the default from 30 to 0, it seems:
https://github.com/os-autoinst/os-autoinst/pull/965
so let's go ahead and change these two cases where we have no
explicit timeout to have one.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2018-05-24 14:17:24 -07:00
parent 33ac181955
commit 05c9f4fbcd
2 changed files with 2 additions and 2 deletions

View File

@ -488,7 +488,7 @@ sub gnome_initial_setup {
} }
else { else {
# wait for the stupid 'help' screen to show and kill it # wait for the stupid 'help' screen to show and kill it
if (check_screen "getting_started") { if (check_screen "getting_started", 30) {
send_key "alt-f4"; send_key "alt-f4";
wait_still_screen 5; wait_still_screen 5;
} }

View File

@ -93,7 +93,7 @@ sub run {
} }
if (get_var("DESKTOP") eq 'gnome' && get_var("INSTALL_NO_USER")) { if (get_var("DESKTOP") eq 'gnome' && get_var("INSTALL_NO_USER")) {
# wait for the stupid 'help' screen to show and kill it # wait for the stupid 'help' screen to show and kill it
if (check_screen "getting_started") { if (check_screen "getting_started", 30) {
send_key "alt-f4"; send_key "alt-f4";
wait_still_screen 5; wait_still_screen 5;
} }