Reduce flakiness of http_client_stays_alive_test.

Give it more time before failing.

BUG=
R=kustermann@google.com

Review-Url: https://codereview.chromium.org/2566263002 .
This commit is contained in:
Florian Schneider 2016-12-12 13:50:33 -08:00
parent 6051488ad9
commit 1ca079a472
2 changed files with 8 additions and 8 deletions

View file

@ -54,7 +54,7 @@ void runServerProcess() {
// NOTE: There is a slight chance this will cause flakiness, but there is
// no other good way of testing correctness of timing-dependent code
// form the outside.
if (seconds < SECONDS || (SECONDS + 10) < seconds) {
if (seconds < SECONDS || (SECONDS + 30) < seconds) {
throw "Child did exit within $seconds seconds, but expected it to take "
"roughly $SECONDS seconds.";
}

View file

@ -124,12 +124,12 @@ void testIPv4toIPv6_IPV6Only() {
}
void main() {
testIPv6toIPv6();
testIPv4toIPv6();
testIPv6toIPv4();
testIPv4toIPv4();
testIPv6Lookup();
testIPv4Lookup();
testIPv6toIPv6(); /// none: ok
testIPv4toIPv6(); /// 01: ok
testIPv6toIPv4(); /// 02: ok
testIPv4toIPv4(); /// 03: ok
testIPv6Lookup(); /// 04: ok
testIPv4Lookup(); /// 05: ok
testIPv4toIPv6_IPV6Only();
testIPv4toIPv6_IPV6Only(); /// 06: ok
}