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 {