Skip to content

Commit

Permalink
Reproduce bug in qrexec tests
Browse files Browse the repository at this point in the history
The qrexec tests are broken and fail intermittently.  This patch makes
the bug obvious: by adding a sleep, it causes the test to fail right
away, reliably.
  • Loading branch information
DemiMarie committed Feb 22, 2025
1 parent 5de215d commit 87f187d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubes/tests/integ/qrexec.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ def test_080_qrexec_service_argument_allow_default(self):
self.create_remote_file(
self.testvm2,
"/etc/qubes-rpc/test.Argument",
'/usr/bin/printf %s "$1"',
'sleep 20 && /usr/bin/printf %s "$1"',
)
with self.qrexec_policy("test.Argument", self.testvm1, self.testvm2):
stdout, stderr = self.loop.run_until_complete(
Expand Down

0 comments on commit 87f187d

Please sign in to comment.