[Lldb-commits] [lldb] [lldb][test] Increase gdbremote_testcase timeout (PR #221239)

via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 4 07:52:57 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Raphael Isemann (Teemperor)

<details>
<summary>Changes</summary>

TestLldbGdbServer.py is randomly timing out on slow machines. This bumps the timout to a minute by default.

---
Full diff: https://github.com/llvm/llvm-project/pull/221239.diff


1 Files Affected:

- (modified) lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py (+1-1) 


``````````diff
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)
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/221239


More information about the lldb-commits mailing list