Skip to content

Commit

Permalink
XXX debug
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpitt committed Oct 16, 2023
1 parent 7d34829 commit c63e874
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/verify/check-storage-stratis
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class TestStorageStratis(storagelib.StorageCase):

exe("systemctl start stratisd")
self.addCleanup(exe, "systemctl stop stratisd")
print("XXXXX loop devs", exe("losetup -l"))

self.stratis_v2 = self.image.startswith("rhel-8") or self.image == "centos-8-stream"

Expand All @@ -54,6 +55,7 @@ class TestStorageStratis(storagelib.StorageCase):
dev_3 = self.add_loopback_disk(PV_SIZE)
dev_4 = self.add_loopback_disk(PV_SIZE)
dev_5 = self.add_loopback_disk(PV_SIZE)
print("XXXX testBasic loop assignment", dev_1, dev_2, dev_3, dev_4, dev_5)
b.wait_in_text("#others", dev_1)
b.wait_in_text("#others", dev_2)
b.wait_in_text("#others", dev_3)
Expand Down Expand Up @@ -107,6 +109,7 @@ class TestStorageStratis(storagelib.StorageCase):
b.assert_pixels("#dialog", "create-fsys")
self.dialog_apply()
self.dialog_wait_close()
self.addCleanup(m.execute, "umount /run/fsys1 || true")

b.wait_in_text("#detail-content", "fsys1")
b.assert_pixels("#detail-content", "fsys-row")
Expand All @@ -117,6 +120,7 @@ class TestStorageStratis(storagelib.StorageCase):
b.click("button:contains(Create new filesystem)")
self.dialog({'name': 'fsys2',
'mount_point': '/run/fsys2'})
self.addCleanup(m.execute, "umount /run/fsys2 || true")
b.wait_in_text("#detail-content", "fsys2")
b.assert_pixels("#detail-content", "fsys-rows")
self.assertEqual(self.inode(m.execute("findmnt -n -o SOURCE /run/fsys2").strip()),
Expand Down

0 comments on commit c63e874

Please sign in to comment.