Stop testing on top of partitioned loopback devices.

Creating partitions on top of loopback devices stopped working and it is
failing due to a reason that is unrelated to this package.  Previously
partition-based testing was established to ensure that the VDO-manager based
VDO could handle things appropriately, but now that we're based on LVM, which
is more mature in this region, we can trust that this is being tested
appropriately elsewhere.

Resolves: rhbz#2095768

Signed-off-by: Andrew Walsh <awalsh@redhat.com>
This commit is contained in:
Andrew Walsh 2022-06-13 13:17:40 +00:00
parent 412bf0a6d6
commit 8fe38e1a7f
1 changed files with 1 additions and 13 deletions

View File

@ -77,7 +77,7 @@ rlPhaseStartTest "Generate Test Data"
rlRun "ls -lh ${TmpDir}/urandom_fill_file"
rlPhaseEnd
for partition_type in "raw" "lvm" "part"
for partition_type in "raw" "lvm"
do
case $partition_type in
"raw"*)
@ -91,13 +91,6 @@ do
rlPhaseEnd
backing_device=/dev/vdo_base/vdo_base
;;
"part"*)
rlPhaseStartTest "Create partitioned backing device"
rlRun "parted -s /dev/loop0 mklabel msdos" 0 "Creating label"
rlRun 'parted -s /dev/loop0 mkpart primary "" 1M -- -1M' 0 "Creating partition"
rlPhaseEnd
backing_device=/dev/loop0p1
;;
*)
;;
esac
@ -158,11 +151,6 @@ do
rlRun "pvremove /dev/loop0" 0 "Removing PV"
rlPhaseEnd
;;
"part"*)
rlPhaseStartCleanup
rlRun "parted -s /dev/loop0 rm 1" 0 "Removing partition"
rlPhaseEnd
;;
*)
;;
esac