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:
parent
33ac181955
commit
05c9f4fbcd
@ -488,7 +488,7 @@ sub gnome_initial_setup {
|
||||
}
|
||||
else {
|
||||
# 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";
|
||||
wait_still_screen 5;
|
||||
}
|
||||
|
@ -93,7 +93,7 @@ sub run {
|
||||
}
|
||||
if (get_var("DESKTOP") eq 'gnome' && get_var("INSTALL_NO_USER")) {
|
||||
# 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";
|
||||
wait_still_screen 5;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user