Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Unified Diff: tests/standalone/io/http_client_stays_alive_test.dart

Issue 2566263002: Reduce flakiness of http_client_stays_alive_test. (Closed)
Patch Set: Split up ipv6 test Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/standalone/io/socket_ipv6_test.dart » ('j') | tests/standalone/io/socket_ipv6_test.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/http_client_stays_alive_test.dart
diff --git a/tests/standalone/io/http_client_stays_alive_test.dart b/tests/standalone/io/http_client_stays_alive_test.dart
index 171eb38d4122d9645d13b1d5210658368d8a8786..d6a15873ec6ea26a266bea584c2c3cb71addf12f 100644
--- a/tests/standalone/io/http_client_stays_alive_test.dart
+++ b/tests/standalone/io/http_client_stays_alive_test.dart
@@ -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.";
}
« no previous file with comments | « no previous file | tests/standalone/io/socket_ipv6_test.dart » ('j') | tests/standalone/io/socket_ipv6_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698