mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-25 23:33:07 +00:00
602a1ee101
Noticed in e.g. https://openqa.fedoraproject.org/tests/58798 we're doing this wrong, `boot_decrypt` was moved into utils as a function, but we were still calling it as a method...
26 lines
642 B
Perl
26 lines
642 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
|
|
sub run {
|
|
my $self = shift;
|
|
my $wait_time = 300;
|
|
# if we're running an upgrade, we must wait for the entire upgrade
|
|
# process to run
|
|
$wait_time = 6000 if (get_var("UPGRADE"));
|
|
# decrypt disks during boot
|
|
boot_decrypt($wait_time);
|
|
}
|
|
|
|
sub test_flags {
|
|
# without anything - rollback to 'lastgood' snapshot if failed
|
|
# 'fatal' - whole test suite is in danger if this fails
|
|
# 'milestone' - after this test succeeds, update 'lastgood'
|
|
# 'important' - if this fails, set the overall state to 'fail'
|
|
return { fatal => 1 };
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|