Skip to content

Commit

Permalink
tests: switch testEncryptedUnlockRAIDonLUKS to non-destructive
Browse files Browse the repository at this point in the history
The only check hindering us from doing that was the there was no
partitioning pre-selected.
This line would fail the test if it ran more than once in a row,
as the previously created partitioning would be detected for re-using.
  • Loading branch information
KKoukiou committed Apr 10, 2024
1 parent d0fa262 commit 68cd8b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/check-storage
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,7 @@ class TestStorageMountPoints(anacondalib.VirtInstallMachineCase, StorageCase):

self._testEncryptedUnlock(b, m)

@nondestructive
def testEncryptedUnlockRAIDonLUKS(self):
# RAID on LUKS: partition -> LUKS -> RAID -> filesystem
b = self.browser
Expand Down Expand Up @@ -746,7 +747,6 @@ class TestStorageMountPoints(anacondalib.VirtInstallMachineCase, StorageCase):
s.unlock_device("einszweidrei", ["vda3", "vda4"], ["vda3", "vda4"])
b.wait_not_present("#mount-point-mapping-table tbody tr:nth-child(4) td[data-label='Format type'] #unlock-luks-btn")

s.check_mountpoint_row(1, "/", "Select a device", True)
s.select_mountpoint_row_device(1, "encryptedraid")
s.check_mountpoint_row_format_type(1, "xfs")

Expand Down

0 comments on commit 68cd8b7

Please sign in to comment.