From f68887cef08ebfc6ea17c4fc4dc0b296fed4cead Mon Sep 17 00:00:00 2001 From: Christopher Batey Date: Mon, 4 Jun 2018 11:48:31 +0100 Subject: [PATCH] Fix RemotingFailedToBindSpec #24579 It was finding a free udp port to use rather than tcp --- .../src/test/scala/akka/remote/RemotingFailedToBindSpec.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/akka-remote-tests/src/test/scala/akka/remote/RemotingFailedToBindSpec.scala b/akka-remote-tests/src/test/scala/akka/remote/RemotingFailedToBindSpec.scala index 743921386b..1d8043db85 100644 --- a/akka-remote-tests/src/test/scala/akka/remote/RemotingFailedToBindSpec.scala +++ b/akka-remote-tests/src/test/scala/akka/remote/RemotingFailedToBindSpec.scala @@ -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 {