Index: tests/standalone/io/secure_server_client_certificate_test.dart |
diff --git a/tests/standalone/io/secure_server_client_certificate_test.dart b/tests/standalone/io/secure_server_client_certificate_test.dart |
index 4edabef519ec53b51b877f1869acd0e9221a19c9..4d24783d991cd1c6a5a00fef904d02de8eb4b1c5 100644 |
--- a/tests/standalone/io/secure_server_client_certificate_test.dart |
+++ b/tests/standalone/io/secure_server_client_certificate_test.dart |
@@ -7,12 +7,13 @@ import "dart:async"; |
import "dart:io"; |
import "dart:isolate"; |
+const SERVER_ADDRESS = "127.0.0.1"; |
const HOST_NAME = "localhost"; |
const CERTIFICATE = "localhost_cert"; |
void testClientCertificate() { |
ReceivePort port = new ReceivePort(); |
- SecureServerSocket.bind(HOST_NAME, |
+ SecureServerSocket.bind(SERVER_ADDRESS, |
0, |
5, |
CERTIFICATE, |
@@ -41,7 +42,7 @@ void testClientCertificate() { |
void testRequiredClientCertificate() { |
ReceivePort port = new ReceivePort(); |
- SecureServerSocket.bind(HOST_NAME, |
+ SecureServerSocket.bind(SERVER_ADDRESS, |
0, |
5, |
CERTIFICATE, |
@@ -70,7 +71,7 @@ void testRequiredClientCertificate() { |
void testNoClientCertificate() { |
ReceivePort port = new ReceivePort(); |
- SecureServerSocket.bind(HOST_NAME, |
+ SecureServerSocket.bind(SERVER_ADDRESS, |
0, |
5, |
CERTIFICATE, |
@@ -93,7 +94,7 @@ void testNoClientCertificate() { |
void testNoRequiredClientCertificate() { |
ReceivePort port = new ReceivePort(); |
bool clientError = false; |
- SecureServerSocket.bind(HOST_NAME, |
+ SecureServerSocket.bind(SERVER_ADDRESS, |
0, |
5, |
CERTIFICATE, |