Skip to content

Commit

Permalink
Fix x11_start_program timing out after os-autoinst update
Browse files Browse the repository at this point in the history
Provide a sane non-zero timeout for the "check_screen" call in
"init_desktop_runner" which is used in "x11_start_program" as after
os-autoinst/os-autoinst#965
the command "check_screen" has a default timeout of 0 seconds and not 30
anymore.

Related progress issue: https://progress.opensuse.org/issues/38837
  • Loading branch information
okurz committed Jul 25, 2018
1 parent 19a86b8 commit cece786
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/susedistribution.pm
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ sub init_cmd {

sub init_desktop_runner {
my ($program, $timeout) = @_;
$timeout //= 30;

send_key(check_var('DESKTOP', 'minimalx') ? 'super-spc' : 'alt-f2');

Expand Down

0 comments on commit cece786

Please sign in to comment.