[Lldb-commits] [lldb] [lldb][test] Wait longer for the debugger in TestLoadAfterAttach (PR #237037)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 29 18:02:41 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Charles Zablit (charles-zablit)
<details>
<summary>Changes</summary>
The timeout is too low and causes flakes in CI.
---
Full diff: https://github.com/llvm/llvm-project/pull/237037.diff
1 Files Affected:
- (modified) lldb/test/API/functionalities/load_after_attach/main.cpp (+1-1)
``````````diff
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) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/237037
More information about the lldb-commits
mailing list