mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-22 05:01:25 +00:00
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:
parent
5f014de08a
commit
1f7e5ebe20
@ -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";
|
||||
assert_screen "anaconda_install_root_password_screen";
|
||||
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"));
|
||||
|
Loading…
Reference in New Issue
Block a user