[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.
This commit is contained in:
parent
8652fc8453
commit
c01548c7e0
|
|
@ -29,7 +29,7 @@ int Callback(struct dl_phdr_info *info, size_t size, void *data) {
|
||||||
void Watchdog() {
|
void Watchdog() {
|
||||||
// This is just a fail-safe to turn a deadlock (in case the bug reappears)
|
// This is just a fail-safe to turn a deadlock (in case the bug reappears)
|
||||||
// into a (slow) test failure.
|
// into a (slow) test failure.
|
||||||
usleep(20000000);
|
usleep(40000000);
|
||||||
if (!out.try_lock()) {
|
if (!out.try_lock()) {
|
||||||
write(2, "DEADLOCK\n", 9);
|
write(2, "DEADLOCK\n", 9);
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue