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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to