Index: tests/standalone/io/http_close_test.dart |
diff --git a/tests/standalone/io/http_close_test.dart b/tests/standalone/io/http_close_test.dart |
index 7e0418bd792a8aa02e247f819fa5d99235f325ae..056ec0ed477a39cd420f40fc5fdf977708c731ab 100644 |
--- a/tests/standalone/io/http_close_test.dart |
+++ b/tests/standalone/io/http_close_test.dart |
@@ -123,7 +123,7 @@ void testClientCloseSendingResponse(int connections) { |
} |
} |
server.listen((request) { |
- var timer = new Timer.repeating(const Duration(milliseconds: 20), (_) { |
+ var timer = new Timer.periodic(const Duration(milliseconds: 20), (_) { |
request.response.writeBytes(new Uint8List(16 * 1024)); |
}); |
request.response.done |