Skip to content

Commit

Permalink
tests: fix Whonix notifications interfering with test_300_bug_1028_gu…
Browse files Browse the repository at this point in the history
…i_memory_pinning

Whonix Gateway shows some notifications / windows on startup (Tor
connection progress info, updates notification, news etc). When it
happens at the wrong time, it will switch focus between two screenshots,
affecting cursor image and thus causing the test to fail.

Avoid this by disabling starting Tor for this test.

(cherry picked from commit 506cd2a)
  • Loading branch information
marmarek committed Dec 8, 2024
1 parent b999cbe commit aa31030
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qubes/tests/integ/vm_qrexec_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -968,6 +968,8 @@ async def _test_300_bug_1028_gui_memory_pinning(self):

# exclude from memory balancing
self.testvm1.features['service.meminfo-writer'] = False
# prevent Whonix startup notifications from interfering
self.testvm1.features['service.whonix-tor-disable'] = True
await self.testvm1.start()
await self.wait_for_session(self.testvm1)

Expand Down

0 comments on commit aa31030

Please sign in to comment.