You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by "jbonofre (via GitHub)" <gi...@apache.org> on 2026/04/21 13:18:32 UTC

[PR] fix(test): avoid race condition in TwoBrokerVirtualTopicSelectorAwareForwardingTest [activemq]

jbonofre opened a new pull request, #1951:
URL: https://github.com/apache/activemq/pull/1951

   Replace bare `assertEquals` with `Wait.waitFor` for the queue depth check in `testSelectorAwareForwarding`. The broker decrements its messages counter only after processing the MessageAck asynchronously, so asserting immediately after waitForMessagesToArrive could fire before the ACK is processed on a loaded CI runner.


-- 
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: gitbox-unsubscribe@activemq.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org
For additional commands, e-mail: gitbox-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact



Re: [PR] fix(test): avoid race condition in TwoBrokerVirtualTopicSelectorAwareForwardingTest [activemq]

Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre merged PR #1951:
URL: https://github.com/apache/activemq/pull/1951


-- 
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: gitbox-unsubscribe@activemq.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org
For additional commands, e-mail: gitbox-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact