[ 
https://issues.apache.org/jira/browse/AMQ-9846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18057865#comment-18057865
 ] 

Jean-Louis Monteiro commented on AMQ-9846:
------------------------------------------

PR #1621 and #1634

> Fix race condition in QueueZeroPrefetchLazyDispatchPriorityTest causing 
> message count mismatch 
> -----------------------------------------------------------------------------------------------
>
>                 Key: AMQ-9846
>                 URL: https://issues.apache.org/jira/browse/AMQ-9846
>             Project: ActiveMQ
>          Issue Type: Test
>            Reporter: Jean-Louis Monteiro
>            Priority: Major
>             Fix For: 6.3.0
>
>
> With zero-prefetch and lazy dispatch enabled, the test consumes messages 
> before they are fully paged into the queue, resulting in "expected 5 but was 
> 0". Fixed by adding Wait.waitFor() to verify messages are enqueued and 
> available before consuming.                     
>   



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to