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

   ### Motivation
   RotatingKeysSSLEngineProviderSpec can receive a delayed ActorIdentity from 
an earlier Identify attempt after the target actor ref has already been 
resolved. Nightly retry policy still fails builds when that stale identity 
arrives before the ping reply.
   
   ### Modification
   Wait for the expected ping with fishForMessage and ignore late ActorIdentity 
messages while keeping the same per-attempt timeout budget.
   
   ### Result
   The test accepts the intended ping reply without being failed by harmless 
delayed Identify responses.
   
   ### Tests
   - JDK 21: remote / Test / testOnly 
org.apache.pekko.remote.artery.tcp.ssl.RotatingProviderWithChangingKeysSpec
   - JDK 25: remote / Test / testOnly 
org.apache.pekko.remote.artery.tcp.ssl.RotatingProviderWithChangingKeysSpec 
(fails on existing JDK 25 EKU certificate validation behavior)
   - scalafmt --mode diff-ref=origin/main --quiet
   - scalafmt --list --mode diff-ref=origin/main
   - git diff --check
   
   ### References
   Refs #2994


-- 
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