| Index: tests/standalone/io/raw_secure_server_socket_test.dart
|
| diff --git a/tests/standalone/io/raw_secure_server_socket_test.dart b/tests/standalone/io/raw_secure_server_socket_test.dart
|
| index ba34bedb970581dd53c7f9220cacd58ff47ba823..b9c7e9be42cc07f7b4a8c25a87fc925668497c66 100644
|
| --- a/tests/standalone/io/raw_secure_server_socket_test.dart
|
| +++ b/tests/standalone/io/raw_secure_server_socket_test.dart
|
| @@ -105,7 +105,8 @@ void testSimpleConnectFail(SecurityContext context, bool cancelOnError) {
|
| Expect.fail("No server connection expected.");
|
| },
|
| onError: (error) {
|
| - Expect.isTrue(error is HandshakeException);
|
| + Expect.isTrue(error is SocketException ||
|
| + error is HandshakeException);
|
| clientEndFuture.then((_) {
|
| if (!cancelOnError) server.close();
|
| asyncEnd();
|
|
|