Skip to content

Commit 68fb816

Browse files
committed
test: increase start timeout for mdadm arrays
On CentOS 10 starting an mdraid takes a while longer and times out. Other tests have already increased the wait_timeout() for mdraids to start.
1 parent a70142a commit 68fb816

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/verify/check-storage-mdraid

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,8 @@ class TestStorageMdRaid(storagelib.StorageCase):
303303
self.check_dropdown_action_disabled(self.card_row("MDRAID device", name=disk1), "Remove", "The MDRAID device must be running")
304304

305305
self.raid_default_action("Start")
306-
b.wait_text(self.card_desc("MDRAID device", "State"), "Running")
306+
with b.wait_timeout(30):
307+
b.wait_text(self.card_desc("MDRAID device", "State"), "Running")
307308

308309
# With a running array, we can add spares, but not remove "in-sync" disks
309310
b.wait_not_present(self.card_button("MDRAID device", "Add disk") + ":disabled")

0 commit comments

Comments
 (0)