@@ -234,7 +234,8 @@ class TestStorageMdRaid(storagelib.StorageCase):
234
234
m .execute (f"wipefs -a { disk2 } " )
235
235
b .wait_not_present (self .card_row ("MDRAID device" , name = disk2 ))
236
236
self .raid_default_action ("Start" )
237
- b .wait_text (self .card_desc ("MDRAID device" , "State" ), "Running" )
237
+ with b .wait_timeout (30 ):
238
+ b .wait_text (self .card_desc ("MDRAID device" , "State" ), "Running" )
238
239
wait_degraded_state (is_degraded = True )
239
240
240
241
# Add disk. The array recovers.
@@ -303,7 +304,8 @@ class TestStorageMdRaid(storagelib.StorageCase):
303
304
self .check_dropdown_action_disabled (self .card_row ("MDRAID device" , name = disk1 ), "Remove" , "The MDRAID device must be running" )
304
305
305
306
self .raid_default_action ("Start" )
306
- b .wait_text (self .card_desc ("MDRAID device" , "State" ), "Running" )
307
+ with b .wait_timeout (30 ):
308
+ b .wait_text (self .card_desc ("MDRAID device" , "State" ), "Running" )
307
309
308
310
# With a running array, we can add spares, but not remove "in-sync" disks
309
311
b .wait_not_present (self .card_button ("MDRAID device" , "Add disk" ) + ":disabled" )
0 commit comments