Skip to content

Commit

Permalink
Add agama_reboot into agama_install schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
lkocman committed Sep 10, 2024
1 parent 3ae719a commit d0f2ef5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions schedule/install/agama_install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ description: >
schedule:
- installation/bootloader
- installation/agama
- installation/agama_reboot
- installation/grub_test
- installation/first_boot
- installation/opensuse_welcome
Expand Down
1 change: 1 addition & 0 deletions tests/installation/agama.pm
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,5 @@ sub post_fail_hook {
upload_agama_logs();
}


1;
5 changes: 3 additions & 2 deletions tests/installation/agama_reboot.pm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# 1) Switch from installer to console to Upload logs
# 2) Switch back to X11/Wayland and reset_console s
# so newly booted system does not think that we're still logged in console
# 3) workaround for no ability to disable grub timeout in agama
# 3) workaround for no ability to disable grub timeout in agama
# https://github.com/openSUSE/agama/issues/1594
# grub_test() is too slow to catch boot screen for us
# Maintainer: Lubos Kocman <[email protected]>,
Expand Down Expand Up @@ -40,7 +40,7 @@ sub get_agama_install_console_tty {

sub run {
my ($self) = @_;

assert_screen('agama-congratulations');
console('installation')->set_tty(get_agama_install_console_tty());
upload_agama_logs();
Expand Down Expand Up @@ -75,4 +75,5 @@ sub post_fail_hook {
upload_agama_logs();
}


1;

0 comments on commit d0f2ef5

Please sign in to comment.