Skip to content

Commit 506cd2a

Browse files
committed
tests: fix Whonix notifications interfering with test_300_bug_1028_gui_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.
1 parent f322f8d commit 506cd2a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

qubes/tests/integ/vm_qrexec_gui.py

+2
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,8 @@ async def _test_300_bug_1028_gui_memory_pinning(self):
536536

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

0 commit comments

Comments
 (0)