jkirthivasan92 opened a new issue, #1825: URL: https://github.com/apache/pekko/issues/1825
This is a bug created on the pekko side for the issue here: https://github.com/akka/akka/issues/30170 In the following workflow, unstashed messages are enqueued in the mailbox but are not processed as expected: 1. Send message (`messageOne`) from TestKit to TestActorRef 2. TestActorRef underlying actor stashes `messageOne` and schedules a subsequent message to self (`selfMessage`) 3. `selfMessage` is sent and processed and `messageOne` is unstashed during processing of `selfMessage` 4. `messageOne` is not processed 5. Send another message (`messageTwo`) from TestKit to TestActorRef 6. Both `messageOne` and `messageTwo` are processed `akka.testkit.CallingThreadDispatcher#runQueue` appears to process the provided `MessageQueue` at the time of invocation rather than using the active `Mailbox` `MessageQueue`. -- 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-unsubscr...@pekko.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org For additional commands, e-mail: notifications-h...@pekko.apache.org