mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-22 18:33:07 +00:00
e68e113f76
It's not really a good idea to have the comments that explain the test_flags in *every* test, because they can go stale and then we either have to live with them being old or update them all. Like, now. So let's just take 'em all out. There's always a reference in the openQA and os-autoinst docs, and those get updated faster. More importantly, add the new `ignore_failure` flag to relevant tests - all the tests that don't have the 'important' or 'fatal' flag at present. Upstream killed the 'important' flag (making all tests 'important' by default), I got it replaced with the 'ignore_failure' flag, we now need to explicitly mark all modules we want the 'ignore_failure' behaviour for.
34 lines
923 B
Perl
34 lines
923 B
Perl
use base "anacondatest";
|
|
use strict;
|
|
use testapi;
|
|
use anaconda;
|
|
|
|
sub run {
|
|
my $self = shift;
|
|
# iscsi config hash
|
|
my %iscsi;
|
|
$iscsi{'iqn.2016-06.local.domain:support.target1'} = ['10.0.2.110', 'test', 'weakpassword'];
|
|
# Anaconda hub
|
|
# Go to INSTALLATION DESTINATION and ensure one regular disk
|
|
# and the iscsi target are selected.
|
|
select_disks(iscsi=>\%iscsi);
|
|
assert_and_click "anaconda_spoke_done";
|
|
# now we're at custom part. let's use standard partitioning for
|
|
# simplicity
|
|
custom_scheme_select("standard");
|
|
# Do 'automatic' partition creation
|
|
assert_and_click "anaconda_part_automatic";
|
|
# Make sure / is on the iSCSI target (which appears as sda)
|
|
custom_change_device("root", "sda");
|
|
assert_and_click "anaconda_spoke_done";
|
|
assert_and_click "anaconda_part_accept_changes";
|
|
}
|
|
|
|
sub test_flags {
|
|
return { fatal => 1 };
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|