[Lldb-commits] [lldb] [lldb] Fixed the TestExitDuringExpression test in case of a remote target (PR #93119)
via lldb-commits
lldb-commits at lists.llvm.org
Wed May 22 17:58:17 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Dmitry Vasilyev (slydiman)
<details>
<summary>Changes</summary>
Sometimes this test failed on the assert `The thread exited` in case of a remote target. Increase the timeout to 1 second to avoid a racing condition.
---
Full diff: https://github.com/llvm/llvm-project/pull/93119.diff
1 Files Affected:
- (modified) lldb/test/API/functionalities/thread/exit_during_expression/main.c (+1-1)
``````````diff
diff --git a/lldb/test/API/functionalities/thread/exit_during_expression/main.c b/lldb/test/API/functionalities/thread/exit_during_expression/main.c
index eb6d17520986c..f633632e96cc4 100644
--- a/lldb/test/API/functionalities/thread/exit_during_expression/main.c
+++ b/lldb/test/API/functionalities/thread/exit_during_expression/main.c
@@ -3,7 +3,7 @@
#include <stdio.h>
#include <unistd.h>
-static unsigned int g_timeout = 100000;
+static unsigned int g_timeout = 1000000;
extern int usleep(unsigned int);
``````````
</details>
https://github.com/llvm/llvm-project/pull/93119
More information about the lldb-commits
mailing list