Skip to content

Commit

Permalink
Enable transactional update tests for zkvm
Browse files Browse the repository at this point in the history
Fix health_check in for s390
  • Loading branch information
JRivrain committed Jun 3, 2020
1 parent 695fb3d commit 9135f93
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions lib/transactional.pm
Expand Up @@ -22,6 +22,7 @@ use testapi;
use caasp 'microos_reboot';
use power_action_utils 'power_action';
use version_utils qw(is_opensuse is_caasp);
use utils 'reconnect_mgmt_console';

our @EXPORT = qw(
process_reboot
Expand All @@ -39,10 +40,14 @@ sub process_reboot {
microos_reboot $trigger;
} else {
power_action('reboot', observe => !$trigger, keepconsole => 1);
if (check_var('ARCH', 's390x')) {
reconnect_mgmt_console(timeout => 500);
} else {
# Replace by wait_boot if possible
assert_screen 'grub2', 100;
send_key 'ret';
}

# Replace by wait_boot if possible
assert_screen 'grub2', 100;
send_key 'ret';
assert_screen 'linux-login', 200;

# Login & clear login needle
Expand Down

0 comments on commit 9135f93

Please sign in to comment.