mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-07-23 19:05:46 +00:00
_boot_to_anaconda: drop installer launch retry loop
This seems to be sometimes *causing* problems now. In some cases, the first launch actually worked but we don't wait long enough for anaconda to show up, so we launch it twice, and that can cause failures like https://bugzilla.redhat.com/2360859 . I did a dry run for a few days on staging and just dropping the loop entirely didn't seem to produce any failures-to-launch, so maybe the various bugs we added this for in the first place have all gone away? Let's try dropping it. If we run into failure-to -launch problems again, we can add it back but bump the timeout or something. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
f97d967bee
commit
b2aedd5f12
@ -184,18 +184,9 @@ sub run {
|
||||
# if we hit the g-i-s flow we already launched
|
||||
unless ($launched) {
|
||||
# for KDE we need to double-click
|
||||
my $relnum = get_release_number;
|
||||
my $dclick = 0;
|
||||
$dclick = 1 if (get_var("DESKTOP") eq "kde");
|
||||
# FIXME launching the installer sometimes fails on KDE
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2280840
|
||||
my $tries = 5;
|
||||
while ($tries) {
|
||||
$tries -= 1;
|
||||
assert_and_click("live_start_anaconda_icon", dclick => $dclick);
|
||||
last if (check_screen ["anaconda_select_install_lang", "anaconda_webui_installmethod"], 180);
|
||||
die "Launching installer failed after 5 tries!" unless ($tries);
|
||||
}
|
||||
assert_and_click("live_start_anaconda_icon", dclick => $dclick);
|
||||
}
|
||||
}
|
||||
# wait for anaconda to appear
|
||||
|
Loading…
Reference in New Issue
Block a user