1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 02:13:08 +00:00

OK, try setting GDM to debug mode instead?

I tested this workaround on staging before pushing it to git and
it worked, but then when I pushed it to prod it didn't work. On
stg I also had this to set GDM to debugging mode, so maybe this
is also needed for the workaround to work for some reason?

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-04-06 17:30:03 -07:00
parent b811d93c4c
commit 1c3106ebe3

View File

@ -24,6 +24,9 @@ sub run {
$self->root_console(tty=>3);
# ensure we actually have some package updates available
prepare_test_packages;
# set GDM to debugging mode; seems to be needed as part of the
# #1821499 workaround
assert_script_run 'printf "[debug]\nEnable=true\n" > /etc/gdm/custom.conf';
if ($desktop eq 'gnome') {
# On GNOME, move the clock forward if needed, because it won't
# check for updates before 6am(!)
@ -72,7 +75,6 @@ sub run {
# hit GDM instead
if (check_screen "graphical_login", 30) {
record_soft_failure "Hit GDM unexpectedly - #1821499";
sleep 5;
send_key 'ret';
}
}