From 452b6a3bc071627c42b33219402685a403c05c2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 9 Dec 2024 01:35:11 +0100 Subject: [PATCH] tests: increase timeout in clipboard test The point of the test is not its speed, but whether it eventually happens. On the other hand, some of the test runners can be quite slow under load. --- qubes/tests/integ/basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes/tests/integ/basic.py b/qubes/tests/integ/basic.py index 19deccbf1..54be7b0b3 100644 --- a/qubes/tests/integ/basic.py +++ b/qubes/tests/integ/basic.py @@ -636,7 +636,7 @@ async def _test_clipboard( # correct timestamp (so gui-daemon would not drop the copy request) subprocess.check_call(["xdotool", "key", "ctrl+a", "ctrl+c"]) # wait a bit to let the zenity actually copy - await asyncio.sleep(1) + await asyncio.sleep(5) subprocess.check_call(["xdotool", "key", "ctrl+shift+c", "Escape"]) await self.wait_for_window_coro(window_title, show=False)