tsan: reduce number of iterations in the test

otherwise it runs for 50 seconds in debug mode

llvm-svn: 206950
This commit is contained in:
Dmitry Vyukov 2014-04-23 06:49:09 +00:00
parent a4ee178762
commit ae5c1070ba
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ static bool ClockFuzzer(bool printing) {
// Do N random operations (acquire, release, etc) and compare results
// for SimpleThread/SyncClock and real Thread/SyncClock.
for (int i = 0; i < 1000000; i++) {
for (int i = 0; i < 10000; i++) {
unsigned tid = rand() % kThreads;
unsigned cid = rand() % kClocks;
thr0[tid]->tick();