Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,11 @@ trait ClusterTestKit extends TestKitBase {
actorSystems.contains(actorSystem)

/** Shuts down all registered [[ActorSystem]]s */
// Shut down joining nodes before the first seed node so cluster leave and remoting
// termination can complete while the seed is still available.
// The timeout is dilated by TestKit; keep a larger base for virtualized JDK 25 nightly runs.
def shutdownAll(): Unit = actorSystems.foreach(sys => shutdown(sys, 30.seconds, verifySystemShutdown = true))
def shutdownAll(): Unit =
actorSystems.reverse.foreach(sys => shutdown(sys, 30.seconds, verifySystemShutdown = true))

/**
* Force the passed [[ActorSystem]] to quit the cluster and shutdown.
Expand Down