diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2016-04-07 12:10:28 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2016-04-07 12:10:28 +0000 |
commit | 79cb643b201bfa1acba9a1afef7395f3be3f60e6 (patch) | |
tree | ed2e8b6fe4d0ba249b4fb197f2d0d01c99d3d245 /compiler-rt/test/tsan/fork_multithreaded.cc | |
parent | 74f7f399ac711cdf49363737389232d1efbd9cc9 (diff) | |
download | bcm5719-llvm-79cb643b201bfa1acba9a1afef7395f3be3f60e6.tar.gz bcm5719-llvm-79cb643b201bfa1acba9a1afef7395f3be3f60e6.zip |
[tsan] Remove long sleeps from fork tests
On one of our testing machines, we're running the tests under heavy load, and especially in the fork-based TSan tests, we're seeing timeouts when a test uses sleep(10), assuming that calling fork() on another thread will finish sooner than that. This patch removes a timeout and makes another one longer.
Differential Revision: http://reviews.llvm.org/D18476
llvm-svn: 265666
Diffstat (limited to 'compiler-rt/test/tsan/fork_multithreaded.cc')
-rw-r--r-- | compiler-rt/test/tsan/fork_multithreaded.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/fork_multithreaded.cc b/compiler-rt/test/tsan/fork_multithreaded.cc index 33eef93c8ec..faf407b9565 100644 --- a/compiler-rt/test/tsan/fork_multithreaded.cc +++ b/compiler-rt/test/tsan/fork_multithreaded.cc @@ -6,7 +6,7 @@ #include <sys/wait.h> static void *sleeper(void *p) { - sleep(10); // not intended to exit during test + sleep(1000); // not intended to exit during test return 0; } |