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

   ### Motivation
   ManualTime.expectNoMessageFor advanced manual time and then polled each 
probe with a zero timeout. Scheduler tasks run synchronously, but actor mailbox 
processing and probe delivery remain asynchronous, so the assertion could pass 
before an unexpected message reached the probe.
   
   ### Modification
   Use each probe’s configured no-message timeout in both the Scala and Java 
DSLs. Document the post-advance observation window and add deterministic 
regression tests using a blocked single-thread dispatcher for both APIs.
   
   ### Result
   Unexpected messages triggered during a manual time advance are observed 
reliably instead of being missed by a non-blocking poll.
   
   ### Tests
   - sbt +actor-testkit-typed / Test / testOnly 
org.apache.pekko.actor.testkit.typed.scaladsl.ManualTimeSpec — passed on Scala 
2.13.18 and 3.3.8 (2/2 each)
   - sbt actor-testkit-typed / Test / test — 175 total, 174 passed, 1 ignored, 
0 failed
   - sbt +headerCheckAll — passed
   - sbt checkCodeStyle — passed
   - Native scalafmt diff and new-file checks — passed
   - Qoder stdout review — no must-fix findings
   - Independent review — no must-fix findings
   - sbt sortImports — not completed: local Scalafix/Scalameta NoSuchMethodError
   - sbt validatePullRequest — interrupted at user request
   
   ### References
   Fixes #3235


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