Start sending heartbeats immediately when joining, see #2249

* Keep track of joins that are in progress in State.joinInProgress,
  with Deadline
* Add test that fails without this feature
This commit is contained in:
Patrik Nordwall 2012-06-20 08:26:41 +02:00
parent 09e92b6bd9
commit 529c25f3dc
6 changed files with 131 additions and 32 deletions

View file

@ -27,6 +27,7 @@ class ClusterConfigSpec extends AkkaSpec {
HeartbeatInterval must be(1 second)
LeaderActionsInterval must be(1 second)
UnreachableNodesReaperInterval must be(1 second)
JoinTimeout must be(60 seconds)
NrOfGossipDaemons must be(4)
NrOfDeputyNodes must be(3)
AutoDown must be(true)