From bdfc22e7daa1e10f4fac43c23b06de0c226d8e20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 7 Oct 2024 17:08:59 +0200 Subject: [PATCH] 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. --- qubes/tests/integ/vm_qrexec_gui.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qubes/tests/integ/vm_qrexec_gui.py b/qubes/tests/integ/vm_qrexec_gui.py index c90ce0b6f..a91b258ce 100644 --- a/qubes/tests/integ/vm_qrexec_gui.py +++ b/qubes/tests/integ/vm_qrexec_gui.py @@ -536,6 +536,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)