| Index: tests/standalone/io/https_bad_certificate_client.dart
|
| diff --git a/tests/standalone/io/https_bad_certificate_client.dart b/tests/standalone/io/https_bad_certificate_client.dart
|
| index 90db4694a891f570fa916faf0520882eb382811c..9a26ab62612e04b5f1361a0e18dfa1a9bf4775e6 100644
|
| --- a/tests/standalone/io/https_bad_certificate_client.dart
|
| +++ b/tests/standalone/io/https_bad_certificate_client.dart
|
| @@ -38,10 +38,10 @@ Future runHttpClient(int port, result) {
|
|
|
| HttpClient client = new HttpClient();
|
|
|
| - var testFutures = [];
|
| + var testFutures = []; // The three async getUrl calls run simultaneously.
|
| testFutures.add(client.getUrl(Uri.parse('https://$HOST_NAME:$port/$result'))
|
| .then((HttpClientRequest request) {
|
| - expect(false);
|
| + expect(result == 'true'); // The session cache may keep the session.
|
| }, onError: (e) {
|
| expect(e is HandshakeException || e is SocketException);
|
| }));
|
|
|