Index: tests/standalone/io/socket_upgrade_to_secure_test.dart |
diff --git a/tests/standalone/io/socket_upgrade_to_secure_test.dart b/tests/standalone/io/socket_upgrade_to_secure_test.dart |
index 33b2059ef9b3ac53a686b6bf8f637ab16145d054..11f2ca4a97888910fd8028c551af7383bed89f3e 100644 |
--- a/tests/standalone/io/socket_upgrade_to_secure_test.dart |
+++ b/tests/standalone/io/socket_upgrade_to_secure_test.dart |
@@ -12,6 +12,7 @@ import "dart:async"; |
import "dart:io"; |
import "dart:isolate"; |
+const SERVER_ADDRESS = "127.0.0.1"; |
const HOST_NAME = "localhost"; |
const CERTIFICATE = "localhost_cert"; |
@@ -194,7 +195,7 @@ void test(bool handshakeBeforeSecure, |
}); |
} |
- ServerSocket.bind(HOST_NAME, 0, 5).then(serverReady); |
+ ServerSocket.bind(SERVER_ADDRESS, 0, 5).then(serverReady); |
} |
main() { |