Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions qubespdfconverter/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,10 @@ def test_004_cancel_stops_conversion(self):
self.assertNotEqual(
self.vm.run('test -r test.trusted.pdf', wait=True), 0,
'trusted pdf should not exist after cancel')
# DispVM cleanup in dom0 is asynchronous; poll until the DispVM
# disappears from self.app.domains (mirrors qubes-core-admin pattern),
# up to 10 seconds.
timeout = 10
# DispVM cleanup is asynchronous; poll until it disappears from the
# collection. The timeout must be shorter than the conversion time, to
# be sure it was canceled.
timeout = 20
while True:
domains_after = set(self.app.domains)
if domains_after == domains_before:
Expand Down