Use all heartbeats in failure detector, see #2182

* Failure detector didn't use hearbeat 1 and 2
* Included heartbeat 2 in ordinary stats
* For heartbeat 1 use guess stats,
  important so that connections with only one heartbeat
  becomes unavailble, the guess corresponds to 1 second interval
  which results in phi > 8 after 18 seconds
* Improved AccrualFailureDetectorSpec
This commit is contained in:
Patrik Nordwall 2012-06-08 13:44:40 +02:00
parent c7af802dc8
commit dcae863f7f
5 changed files with 78 additions and 74 deletions

View file

@ -36,8 +36,7 @@ abstract class NodeLeavingAndExitingAndBeingRemovedSpec
"A node that is LEAVING a non-singleton cluster" must {
// FIXME make it work and remove ignore
"be moved to EXITING and then to REMOVED by the reaper" taggedAs LongRunningTest ignore {
"be moved to EXITING and then to REMOVED by the reaper" taggedAs LongRunningTest in {
awaitClusterUp(first, second, third)