[Lldb-commits] [lldb] [lldb][test] Wait longer for the debugger in TestLoadAfterAttach (PR #237037)
Charles Zablit via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 29 18:02:07 PDT 2026
https://github.com/charles-zablit created https://github.com/llvm/llvm-project/pull/237037
The timeout is too low and causes flakes in CI.
>From a77b866458897ecbb833437c0af76ef7255e8074 Mon Sep 17 00:00:00 2001
From: Charles Zablit <c_zablit at apple.com>
Date: Thu, 29 Oct 2026 21:59:58 +0000
Subject: [PATCH] [lldb][test] Wait longer for the debugger in
TestLoadAfterAttach
---
lldb/test/API/functionalities/load_after_attach/main.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lldb/test/API/functionalities/load_after_attach/main.cpp b/lldb/test/API/functionalities/load_after_attach/main.cpp
index 60bfefb72bb112..8e1de2db7505e0 100644
--- a/lldb/test/API/functionalities/load_after_attach/main.cpp
+++ b/lldb/test/API/functionalities/load_after_attach/main.cpp
@@ -13,7 +13,7 @@ int main(int argc, char* argv[]) {
// Wait until debugger is attached.
int main_thread_continue = 0;
int i = 0;
- int timeout = 10;
+ int timeout = 100;
for (i = 0; i < timeout; i++) {
std::this_thread::sleep_for(std::chrono::seconds(1)); // break here
if (main_thread_continue) {
More information about the lldb-commits
mailing list