[Lldb-commits] [lldb] [lldb] Increase MAX_ATTEMPTS in connect_to_debug_monitor() (PR #118222)
Dmitry Vasilyev via lldb-commits
lldb-commits at lists.llvm.org
Sun Dec 1 09:38:51 PST 2024
https://github.com/slydiman created https://github.com/llvm/llvm-project/pull/118222
See #118032 for details.
>From bb68e6d523f3e80b991c7370bb00bac2bb9582b6 Mon Sep 17 00:00:00 2001
From: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
Date: Sun, 1 Dec 2024 21:35:52 +0400
Subject: [PATCH] [lldb] Increase MAX_ATTEMPTS in connect_to_debug_monitor()
See #118032 for details.
---
.../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 8c8e4abed0b454..67b07ff4ddd998 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
@@ -388,7 +388,7 @@ def connect_to_debug_monitor(self, attach_pid=None):
# We're using a random port algorithm to try not to collide with other ports,
# and retry a max # times.
attempts = 0
- MAX_ATTEMPTS = 20
+ MAX_ATTEMPTS = 30
while attempts < MAX_ATTEMPTS:
server = self.launch_debug_monitor(attach_pid=attach_pid)
More information about the lldb-commits
mailing list