[TSan] increase sleep time in test to ensure correct event ordering

llvm-svn: 164483
This commit is contained in:
Alexey Samsonov 2012-09-24 08:57:41 +00:00
parent ed2a284977
commit 0659f72f7b
1 changed files with 1 additions and 2 deletions

View File

@ -1,5 +1,4 @@
// FIXME: Understand why this test fails if TSan is re-execed.
// RUN: ulimit -s 8192
// RUN: %clangxx_tsan -O1 %s -o %t && %t 2>&1 | FileCheck %s
#include <pthread.h>
#include <unistd.h>
@ -12,7 +11,7 @@ void *Thread(void *p) {
}
void MySleep() {
usleep(100*1000);
usleep(300*1000);
}
int main() {