| Index: tests/standalone/io/http_shutdown_test.dart
|
| diff --git a/tests/standalone/io/http_shutdown_test.dart b/tests/standalone/io/http_shutdown_test.dart
|
| index c24fc2ed2603825192295fc7ff9bb4f4c858cdef..6c3612a8b53b69c90d1c1d5c69a92af1fb635ffa 100644
|
| --- a/tests/standalone/io/http_shutdown_test.dart
|
| +++ b/tests/standalone/io/http_shutdown_test.dart
|
| @@ -120,7 +120,7 @@ void test4() {
|
|
|
| server.listen((var request) {
|
| request.listen((_) {}, onDone: () {
|
| - new Timer.repeating(new Duration(milliseconds: 100), (timer) {
|
| + new Timer.periodic(new Duration(milliseconds: 100), (timer) {
|
| if (server.connectionsInfo().total == 0) {
|
| server.close();
|
| timer.cancel();
|
| @@ -175,7 +175,7 @@ void test5(int totalConnections) {
|
| .catchError((e) { }, test: (e) => e is HttpParserException);
|
| }
|
| bool clientClosed = false;
|
| - new Timer.repeating(new Duration(milliseconds: 100), (timer) {
|
| + new Timer.periodic(new Duration(milliseconds: 100), (timer) {
|
| if (!clientClosed) {
|
| if (server.connectionsInfo().total == totalConnections) {
|
| clientClosed = true;
|
|
|