mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 14:53:37 +00:00
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:
parent
6051488ad9
commit
1ca079a472
|
@ -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.";
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue