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

ASF subversion and git services commented on AMQ-9847:
------------------------------------------------------

Commit 578de9ba1fb3851b3ec91a767d313df922ad7cd3 in activemq's branch 
refs/heads/main from Jean-Louis Monteiro
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=578de9ba1f ]

Flaky Tests and bug fixes  (#1634)

* AMQ-9849 Improve connection availability check in NetworkReconnectSslNioTest 
to prevent errors during remote exception handling

AMQ-9848 Add testQueuePauseResume to VirtualTopicsAndDurableSubsTest for queue 
pause/resume functionality

AMQ-9847 Add assertions to QueueZeroPrefetchLazyDispatchPriorityTest for 
message enqueuing and availability

AMQ-9841 Fix potential NPE in JMSConsumerTest by ensuring subscriptions list is 
not null before accessing its size

Reduce maxWait timeout in SslTransportBrokerTest to improve test performance

AMQ-9842 Improve JobSchedulerWithAdvisoryMessageTest to use Wait utility for 
queue advisory verification

AMQ-9841 Enhance JMSConsumerTest to ensure correct message dispatching between 
consumers

* Fix flaky test in AmqpReceiverTest by adding wait for dispatch count to be 
updated

* Fix logging behavior in AMQ5426Test to only flag ERROR level events

> Fix race condition in QueueZeroPrefetchLazyDispatchPriorityTest causing 
> message count mismatch
> ----------------------------------------------------------------------------------------------
>
>                 Key: AMQ-9847
>                 URL: https://issues.apache.org/jira/browse/AMQ-9847
>             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