[Lldb-commits] [lldb] [lldb][test] Increase gdbremote_testcase timeout (PR #221239)
Raphael Isemann via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 4 07:52:14 PDT 2026
https://github.com/Teemperor created https://github.com/llvm/llvm-project/pull/221239
TestLldbGdbServer.py is randomly timing out on slow machines. This bumps the timout to a minute by default.
>From 70d65d3355a3762d43da5e7dc5f3a48312470847 Mon Sep 17 00:00:00 2001
From: Raphael Isemann <rise at apple.com>
Date: Fri, 4 Sep 2026 13:56:34 +0100
Subject: [PATCH] [lldb][test] Increase gdbremote_testcase timeout
TestLldbGdbServer.py is randomly timing out on slow machines. This
bumps the timout to a minute by default.
---
.../lldbsuite/test/tools/lldb-server/gdbremote_testcase.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py
index b88fced342218..c875160393560 100644
--- a/lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py
+++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py
@@ -60,7 +60,7 @@ def test_method(self, attrvalue=attrvalue):
@requireSocketPermission # the tests talk to the debug monitor over a socket
class GdbRemoteTestCaseBase(Base, metaclass=GdbRemoteTestCaseFactory):
# Default time out in seconds. The timeout is increased tenfold under Asan.
- DEFAULT_TIMEOUT = 20 * (10 if ("ASAN_OPTIONS" in os.environ) else 1)
+ DEFAULT_TIMEOUT = 60 * (10 if ("ASAN_OPTIONS" in os.environ) else 1)
# Default sleep time in seconds. The sleep time is doubled under Asan.
DEFAULT_SLEEP = 5 * (2 if ("ASAN_OPTIONS" in os.environ) else 1)
More information about the lldb-commits
mailing list