[tests] Another batch of timeout increases.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@174726 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1608b64881
commit
8eba41324c
@ -65,7 +65,7 @@ void f()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
assert(t1 - t0 - Clock::duration(250) < Clock::duration(5));
|
assert(t1 - t0 - Clock::duration(250) < Clock::duration(50));
|
||||||
assert(test2 == 0);
|
assert(test2 == 0);
|
||||||
}
|
}
|
||||||
++runs;
|
++runs;
|
||||||
|
@ -75,7 +75,7 @@ void f()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
assert(t1 - t0 - Clock::duration(250) < Clock::duration(5));
|
assert(t1 - t0 - Clock::duration(250) < Clock::duration(50));
|
||||||
assert(test2 == 0);
|
assert(test2 == 0);
|
||||||
assert(!r);
|
assert(!r);
|
||||||
}
|
}
|
||||||
|
@ -50,7 +50,7 @@ void f()
|
|||||||
time_point t1 = Clock::now();
|
time_point t1 = Clock::now();
|
||||||
m.unlock();
|
m.unlock();
|
||||||
ns d = t1 - t0 - ms(250);
|
ns d = t1 - t0 - ms(250);
|
||||||
assert(d < ns(50000000)); // within 50ms
|
assert(d < ms(200)); // within 200ms
|
||||||
}
|
}
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
|
@ -37,7 +37,7 @@ void f()
|
|||||||
m.unlock();
|
m.unlock();
|
||||||
m.unlock();
|
m.unlock();
|
||||||
ns d = t1 - t0 - ms(250);
|
ns d = t1 - t0 - ms(250);
|
||||||
assert(d < ms(10)); // within 10ms
|
assert(d < ms(200)); // within 200ms
|
||||||
}
|
}
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
|
@ -35,7 +35,7 @@ void f()
|
|||||||
time_point t1 = Clock::now();
|
time_point t1 = Clock::now();
|
||||||
m.unlock();
|
m.unlock();
|
||||||
ns d = t1 - t0 - ms(250);
|
ns d = t1 - t0 - ms(250);
|
||||||
assert(d < ns(2500000)); // within 2.5ms
|
assert(d < ms(50)); // within 50ms
|
||||||
}
|
}
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user