Fix RemotingFailedToBindSpec #24579

It was finding a free udp port to use rather than tcp
This commit is contained in:
Christopher Batey 2018-06-04 11:48:31 +01:00 committed by Johan Andrén
parent 85c37f4aeb
commit f68887cef0

View file

@ -14,7 +14,7 @@ class RemotingFailedToBindSpec extends WordSpec with Matchers {
"an ActorSystem" must {
"not start if port is taken" in {
val port = SocketUtil.temporaryLocalPort(true)
val port = SocketUtil.temporaryLocalPort()
val config = ConfigFactory.parseString(
s"""
|akka {