Index: dart/tests/standalone/io/https_bad_certificate_client.dart |
diff --git a/dart/tests/standalone/io/https_bad_certificate_client.dart b/dart/tests/standalone/io/https_bad_certificate_client.dart |
index 064131f7157143e07e52fff5a040fb8f72c579d8..35edb696f53f52605cf13f4f90e1d2d8a29b8c0d 100644 |
--- a/dart/tests/standalone/io/https_bad_certificate_client.dart |
+++ b/dart/tests/standalone/io/https_bad_certificate_client.dart |
@@ -69,7 +69,7 @@ Future runHttpClient(int port, result) { |
expect(e is HandshakeException || e is SocketException); |
})); |
- return Future.wait(testFutures); |
+ return Future.wait(testFutures).then((_) => client.close()); |
} |
void main(List<String> args) { |