[tests] Another batch of timeout increases.

llvm-svn: 174726
This commit is contained in:
Daniel Dunbar 2013-02-08 18:26:55 +00:00
parent 62fe7a5b17
commit ceb47bb06d
5 changed files with 5 additions and 5 deletions

View File

@ -65,7 +65,7 @@ void f()
}
else
{
assert(t1 - t0 - Clock::duration(250) < Clock::duration(5));
assert(t1 - t0 - Clock::duration(250) < Clock::duration(50));
assert(test2 == 0);
}
++runs;

View File

@ -75,7 +75,7 @@ void f()
}
else
{
assert(t1 - t0 - Clock::duration(250) < Clock::duration(5));
assert(t1 - t0 - Clock::duration(250) < Clock::duration(50));
assert(test2 == 0);
assert(!r);
}

View File

@ -50,7 +50,7 @@ void f()
time_point t1 = Clock::now();
m.unlock();
ns d = t1 - t0 - ms(250);
assert(d < ns(50000000)); // within 50ms
assert(d < ms(200)); // within 200ms
}
int main()

View File

@ -37,7 +37,7 @@ void f()
m.unlock();
m.unlock();
ns d = t1 - t0 - ms(250);
assert(d < ms(10)); // within 10ms
assert(d < ms(200)); // within 200ms
}
int main()

View File

@ -35,7 +35,7 @@ void f()
time_point t1 = Clock::now();
m.unlock();
ns d = t1 - t0 - ms(250);
assert(d < ns(2500000)); // within 2.5ms
assert(d < ms(50)); // within 50ms
}
int main()