Attempt a workaround for RHBZ#1659266

This is breaking the memory_check tests. I just reproduced it
manually and the UI *does* come back to life if you wait some
time; let's see if we can work around the bug this way.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2018-12-13 15:14:55 -08:00
parent 5f014de08a
commit 1f7e5ebe20

View File

@ -32,7 +32,15 @@ sub run {
my $root_password = get_var("ROOT_PASSWORD") || "weakpassword";
unless (get_var("INSTALLER_NO_ROOT")) {
assert_and_click "anaconda_install_root_password";
if (get_var("MEMCHECK")) {
# work around https://bugzilla.redhat.com/show_bug.cgi?id=1659266
unless (check_screen "anaconda_install_root_password_screen") {
record_soft_failure "UI may be frozen due to brc#1659266";
assert_screen "anaconda_install_root_password_screen", 300;
}
else {
assert_screen "anaconda_install_root_password_screen";
}
# wait out animation
wait_still_screen 2;
desktop_switch_layout("ascii", "anaconda") if (get_var("SWITCHED_LAYOUT"));