From c01548c7e07254d0f20493a718ee5e8f0499a9a2 Mon Sep 17 00:00:00 2001 From: David Spickett Date: Thu, 3 Feb 2022 10:52:02 +0000 Subject: [PATCH] [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. --- compiler-rt/test/lsan/TestCases/Linux/libdl_deadlock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/test/lsan/TestCases/Linux/libdl_deadlock.cpp b/compiler-rt/test/lsan/TestCases/Linux/libdl_deadlock.cpp index 36b80759b213..ad7abe2d6478 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);