You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "He-Pin (via GitHub)" <gi...@apache.org> on 2026/05/27 11:11:47 UTC

[PR] test: shut down cluster test systems in reverse order [pekko]

He-Pin opened a new pull request, #2997:
URL: https://github.com/apache/pekko/pull/2997

   ### Motivation
   MixedProtocolClusterSpec nightly runs can pass their cluster join assertions but still fail in shutdownAll when the first seed ActorSystem is stopped before the joining nodes have left. On JDK 25 virtualized dispatcher runs this can leave remoting shutdown waiting until the actor-system-terminate phase times out.
   
   ### Modification
   Shut down ClusterTestKit actor systems in reverse registration order so joining nodes leave first while the seed is still available.
   
   ### Result
   Multi-ActorSystem cluster specs using shutdownAll keep the seed alive until dependent nodes have terminated, reducing shutdown timeout flakiness without reducing test coverage or weakening assertions.
   
   ### Tests
   - JDK 25 nightly-style: `sbt "cluster / Test / testOnly org.apache.pekko.cluster.MixedProtocolClusterSpec"` - 9 tests succeeded / 0 failed
   - `scalafmt --mode diff-ref=origin/main`
   - `scalafmt --list --mode diff-ref=origin/main`
   - `git diff --check`
   
   ### References
   None - nightly-builds.yml MixedProtocolClusterSpec shutdown timeout


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org


Re: [PR] test: shut down cluster test systems in reverse order [pekko]

Posted by "He-Pin (via GitHub)" <gi...@apache.org>.
He-Pin merged PR #2997:
URL: https://github.com/apache/pekko/pull/2997


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org