[compiler-rt] c01548c - [compiler-rt][lsan] Increase libdl_deadlock test timeout

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 3 02:55:06 PST 2022


Author: David Spickett
Date: 2022-02-03T10:54:25Z
New Revision: c01548c7e07254d0f20493a718ee5e8f0499a9a2

URL: https://github.com/llvm/llvm-project/commit/c01548c7e07254d0f20493a718ee5e8f0499a9a2
DIFF: https://github.com/llvm/llvm-project/commit/c01548c7e07254d0f20493a718ee5e8f0499a9a2.diff

LOG: [compiler-rt][lsan] Increase libdl_deadlock test timeout

We (Linaro) still have the occasional failure here due
to high load on a shared buildbot machine.

We are looking into general soloutions but perhaps this
will help in the meantime.

Added: 
    

Modified: 
    compiler-rt/test/lsan/TestCases/Linux/libdl_deadlock.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/lsan/TestCases/Linux/libdl_deadlock.cpp b/compiler-rt/test/lsan/TestCases/Linux/libdl_deadlock.cpp
index 36b80759b2139..ad7abe2d6478a 100644
--- a/compiler-rt/test/lsan/TestCases/Linux/libdl_deadlock.cpp
+++ b/compiler-rt/test/lsan/TestCases/Linux/libdl_deadlock.cpp
@@ -29,7 +29,7 @@ int Callback(struct dl_phdr_info *info, size_t size, void *data) {
 void Watchdog() {
   // This is just a fail-safe to turn a deadlock (in case the bug reappears)
   // into a (slow) test failure.
-  usleep(20000000);
+  usleep(40000000);
   if (!out.try_lock()) {
     write(2, "DEADLOCK\n", 9);
     exit(1);


        


More information about the llvm-commits mailing list