| Index: tests/standalone/io/secure_server_closing_test.dart
|
| diff --git a/tests/standalone/io/secure_server_closing_test.dart b/tests/standalone/io/secure_server_closing_test.dart
|
| index 1e2a2d7b2db9b7f886f0070490ef9ca6b65bebdf..159c6ae432b7583342fc9d152249773c46245a9a 100644
|
| --- a/tests/standalone/io/secure_server_closing_test.dart
|
| +++ b/tests/standalone/io/secure_server_closing_test.dart
|
| @@ -18,13 +18,12 @@ InternetAddress HOST;
|
| String localFile(path) => Platform.script.resolve(path).toFilePath();
|
|
|
| SecurityContext serverContext = new SecurityContext()
|
| - ..useCertificateChainSync(localFile('certificates/server_chain.pem'))
|
| - ..usePrivateKeySync(localFile('certificates/server_key.pem'),
|
| - password: 'dartdart');
|
| + ..useCertificateChain(localFile('certificates/server_chain.pem'))
|
| + ..usePrivateKey(localFile('certificates/server_key.pem'),
|
| + password: 'dartdart');
|
|
|
| SecurityContext clientContext = new SecurityContext()
|
| - ..setTrustedCertificatesSync(
|
| - localFile('certificates/trusted_certs.pem'));
|
| + ..setTrustedCertificates(localFile('certificates/trusted_certs.pem'));
|
|
|
| void testCloseOneEnd(String toClose) {
|
| asyncStart();
|
|
|