Index: tests/standalone/io/http_connection_close_test.dart |
diff --git a/tests/standalone/io/http_connection_close_test.dart b/tests/standalone/io/http_connection_close_test.dart |
index 9ae055fca93447d9465e899ad6a9406cc5f08786..75f3b9825764ab861934f8f9c75b74cb5ccc9d86 100644 |
--- a/tests/standalone/io/http_connection_close_test.dart |
+++ b/tests/standalone/io/http_connection_close_test.dart |
@@ -51,7 +51,7 @@ void testStreamResponse() { |
}; |
server.listen("127.0.0.1", 0, backlog: 5); |
server.defaultRequestHandler = (var request, var response) { |
- timer = new Timer.repeating(10, (_) { |
+ timer = new Timer.repeating(new Duration(milliseconds: 10), (_) { |
DateTime now = new DateTime.now(); |
try { |
response.outputStream.writeString( |