提交 743399a4 编写于 作者: S Stephan Ewen

[tests] Fix hostname escaping for older akka versions.

上级 5ab1f1f1
......@@ -97,7 +97,7 @@ object AkkaUtils {
listeningAddress match {
case Some((hostname, port)) =>
val ipAddress = InetAddress.getByName(hostname).getHostAddress()
val ipAddress = "\"" + InetAddress.getByName(hostname).getHostAddress() + "\""
val remoteConfig = getRemoteAkkaConfig(configuration, ipAddress, port)
remoteConfig.withFallback(defaultConfig)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册