Retry creation of ActorSystem in remoting tests #23481 (#23769)

* Retry creation of ActorSystem in remoting tests #23481

Remoting multi-jvm test rely on setting port = 0 which selects an open
port. This has a race where two of the JVMs open/close the same port
then configure their ActorSystem with it so one of them fails to start
due to the port being in use. This adds a simple retry so another port
is selected.
This commit is contained in:
Christopher Batey 2017-10-24 07:22:25 -05:00 committed by Patrik Nordwall
parent da0cfa577b
commit 70ad537af5
7 changed files with 82 additions and 34 deletions

View file

@ -3,7 +3,6 @@
*/
package akka
import akka.TestExtras.Filter
import akka.TestExtras.Filter.Keys._
import com.typesafe.sbt.{ SbtScalariform, SbtMultiJvm }
import com.typesafe.sbt.SbtMultiJvm.MultiJvmKeys._