Added the concept of PortPrefix in the clustering tests to avoid clashes in binding of server port when running the tests in parallel.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
This commit is contained in:
parent
1639028a78
commit
5adaa1a271
10 changed files with 107 additions and 91 deletions
|
|
@ -9,14 +9,14 @@ import akka.util.duration._
|
|||
import akka.util.Duration
|
||||
|
||||
@org.junit.runner.RunWith(classOf[org.scalatest.junit.JUnitRunner])
|
||||
class ClusterConfigSpec extends ClusterSpec {
|
||||
class ClusterConfigSpec extends AkkaSpec {
|
||||
|
||||
"Clustering" must {
|
||||
|
||||
"be able to parse generic cluster config elements" in {
|
||||
val settings = new ClusterSettings(system.settings.config, system.name)
|
||||
import settings._
|
||||
FailureDetectorThreshold must be(3)
|
||||
FailureDetectorThreshold must be(8)
|
||||
FailureDetectorMaxSampleSize must be(1000)
|
||||
NodeToJoin must be(None)
|
||||
PeriodicTasksInitialDelay must be(1 seconds)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue