Skip to content

Commit

Permalink
test: Increase timeout for stratis pool unlocking
Browse files Browse the repository at this point in the history
Trying to unlock with a wrong passphrase sometimes takes longer than the
default 15s.
  • Loading branch information
martinpitt authored and mvollmer committed Aug 23, 2023
1 parent 128b341 commit 3f95b6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/verify/check-storage-stratis
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,8 @@ class TestStorageStratis(storagelib.StorageCase):
self.dialog_wait_open()
self.dialog_set_val('passphrase', "wrong-passphrase")
self.dialog_apply()
b.wait_visible("#dialog .pf-v5-c-alert.pf-m-danger")
with b.wait_timeout(60):
b.wait_visible("#dialog .pf-v5-c-alert.pf-m-danger")
self.dialog_set_val('passphrase', passphrase)
self.dialog_apply()
self.dialog_wait_close()
Expand Down

0 comments on commit 3f95b6c

Please sign in to comment.