forked from OSchip/llvm-project
[tests] Another batch of timeout increases.
llvm-svn: 174726
This commit is contained in:
parent
62fe7a5b17
commit
ceb47bb06d
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue