Skip to content

Commit

Permalink
tests: wait for children in dispvm tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Aug 23, 2024
1 parent 783f6ef commit 7332e8f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions qubes/tests/integ/dispvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,11 @@ def test_100_open_in_dispvm(self):
test_txt_content = f.read()
self.assertEqual(test_txt_content.strip(), b"test1")

# this doesn't really close the application, only the qrexec-client
# process that started it; but clean it up anyway to not leak processes
app.terminate()
self.loop.run_until_complete(app.wait())


def create_testcases_for_templates():
return qubes.tests.create_testcases_for_templates('TC_20_DispVM',
Expand Down

0 comments on commit 7332e8f

Please sign in to comment.