Skip to content

Commit

Permalink
test: Cleanup volume group in one non-destructive test
Browse files Browse the repository at this point in the history
Just janking out the disk will leave debris behind in /dev.
  • Loading branch information
mvollmer committed Sep 28, 2023
1 parent 4d4433b commit 963df5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/verify/check-storage-mounting
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ class TestStorageMountingLUKS(storagelib.StorageCase):
disk = self.add_ram_disk()
b.wait_in_text("#drives", disk)
m.execute(f"vgcreate test {disk}; lvcreate test -n one -L 20M; lvcreate test -n two -L 20M")
self.addCleanup(m.execute, "vgremove --force test 2>/dev/null || true")
b.click('#devices .sidepanel-row:contains("test")')
b.wait_visible("#storage-detail")
self.content_row_wait_in_col(1, 1, "one")
Expand Down

0 comments on commit 963df5d

Please sign in to comment.