Enable usage of MultiJvm nrOfNodes in cluster StressSpec, see #2787
* Adjustments to StressSpec for testing large clusters * Performance improvement of mute deadLetters
This commit is contained in:
parent
6b51b4d824
commit
33a8808a6d
9 changed files with 302 additions and 130 deletions
|
|
@ -105,16 +105,18 @@ trait MultiNodeClusterSpec extends Suite with STMultiNodeSpec with WatchedByCoro
|
|||
}
|
||||
|
||||
muteDeadLetters(
|
||||
"Heartbeat.*",
|
||||
"GossipEnvelope.*",
|
||||
"ClusterMetricsChanged.*",
|
||||
"Disassociated.*",
|
||||
"DisassociateUnderlying.*",
|
||||
"HandleListenerRegistered.*",
|
||||
"PoisonPill.*",
|
||||
"DeathWatchNotification.*",
|
||||
"NullMessage.*",
|
||||
"InboundPayload.*")(sys)
|
||||
classOf[ClusterHeartbeatReceiver.Heartbeat],
|
||||
classOf[ClusterHeartbeatReceiver.EndHeartbeat],
|
||||
classOf[GossipEnvelope],
|
||||
classOf[MetricsGossipEnvelope],
|
||||
classOf[ClusterEvent.ClusterMetricsChanged],
|
||||
classOf[InternalClusterAction.Tick],
|
||||
classOf[akka.actor.PoisonPill],
|
||||
classOf[akka.dispatch.sysmsg.DeathWatchNotification],
|
||||
akka.dispatch.NullMessage.getClass,
|
||||
akka.remote.transport.AssociationHandle.Disassociated.getClass,
|
||||
akka.remote.transport.ActorTransportAdapter.DisassociateUnderlying.getClass,
|
||||
classOf[akka.remote.transport.AssociationHandle.InboundPayload])(sys)
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -290,6 +292,8 @@ trait MultiNodeClusterSpec extends Suite with STMultiNodeSpec with WatchedByCoro
|
|||
}
|
||||
}
|
||||
|
||||
def awaitAllReachable(): Unit = awaitAssert(clusterView.unreachableMembers.isEmpty)
|
||||
|
||||
/**
|
||||
* Wait until the specified nodes have seen the same gossip overview.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue