Skip to content

Commit

Permalink
test: Increase timeout for adding LUKS keys
Browse files Browse the repository at this point in the history
Waiting for the passphrase error was getting close to the regular
timeout.
  • Loading branch information
mvollmer authored and jelly committed Mar 14, 2023
1 parent 83ad540 commit 66812a6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/verify/check-storage-luks
Original file line number Diff line number Diff line change
Expand Up @@ -524,14 +524,14 @@ class TestStorageNBDE(StorageCase, PackageCase):
b.wait_in_text("#dialog", "Make sure the key hash from the Tang server matches")
b.wait_in_text("#dialog", tang_m.execute("tang-show-keys").strip())
self.dialog_apply()
if need_fixing:
b.wait_in_text("#dialog", "Add Network Bound Disk Encryption")
with b.wait_timeout(60):
with b.wait_timeout(60):
if need_fixing:
b.wait_in_text("#dialog", "Add Network Bound Disk Encryption")
self.dialog_apply()
b.wait_in_text("#dialog", "No key available with this passphrase.")
self.dialog_set_val("passphrase", "vainu-reku-toma-rolle-kaja")
self.dialog_apply()
self.dialog_wait_close()
b.wait_in_text("#dialog", "No key available with this passphrase.")
self.dialog_set_val("passphrase", "vainu-reku-toma-rolle-kaja")
self.dialog_apply()
self.dialog_wait_close()
b.wait_visible(panel + "ul li:nth-child(2)")
b.wait_in_text(panel + "ul li:nth-child(2)", "10.111.112.5")

Expand Down

0 comments on commit 66812a6

Please sign in to comment.