Stress / long running test of cluster, see #2786
* akka.cluster.StressSpec * Configurable number of nodes and duration for each step * Report metrics and phi periodically to see progress * Configurable payload size * Test of various join and remove scenarios * Test of watch * Exercise supervision * Report cluster stats * Test with many actors in tree structure Apart from the test this commit also solves some issues: * Avoid adding back members when downed in ClusterHeartbeatSender * Avoid duplicate close of ClusterReadView * Add back the publish of AddressTerminated when MemberDowned/Removed it was lost in merge of "publish on convergence", see #2779
This commit is contained in:
parent
7944b456fc
commit
f147f4d3d2
12 changed files with 1112 additions and 24 deletions
|
|
@ -130,7 +130,7 @@ abstract class UnreachableNodeRejoinsClusterSpec(multiNodeConfig: UnreachableNod
|
|||
}
|
||||
|
||||
runOn(allBut(victim): _*) {
|
||||
awaitUpConvergence(roles.size - 1, List(victim))
|
||||
awaitUpConvergence(roles.size - 1, Set(victim))
|
||||
}
|
||||
|
||||
endBarrier
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue