diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2012-12-07 09:24:57 +0000 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2012-12-07 09:24:57 +0000 |
| commit | 5e700abc1c3ba70892d34aeae8bf22c0f4a08fe9 (patch) | |
| tree | de64dade80b2508b27eff70a6574b322cd912ccb /compiler-rt/lib/tsan/lit_tests/mutexset6.cc | |
| parent | 383b61e791db4ed6440174601283de3c08a5469f (diff) | |
| download | bcm5719-llvm-5e700abc1c3ba70892d34aeae8bf22c0f4a08fe9.tar.gz bcm5719-llvm-5e700abc1c3ba70892d34aeae8bf22c0f4a08fe9.zip | |
tsan: deflake output tests (by increasing sleeps)
llvm-svn: 169592
Diffstat (limited to 'compiler-rt/lib/tsan/lit_tests/mutexset6.cc')
| -rw-r--r-- | compiler-rt/lib/tsan/lit_tests/mutexset6.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/tsan/lit_tests/mutexset6.cc b/compiler-rt/lib/tsan/lit_tests/mutexset6.cc index 38490365487..b28c21c5813 100644 --- a/compiler-rt/lib/tsan/lit_tests/mutexset6.cc +++ b/compiler-rt/lib/tsan/lit_tests/mutexset6.cc @@ -9,7 +9,7 @@ pthread_spinlock_t mtx2; pthread_rwlock_t mtx3; void *Thread1(void *x) { - usleep(100*1000); + sleep(1); pthread_mutex_lock(&mtx1); Global++; pthread_mutex_unlock(&mtx1); |

