You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2026/02/02 18:14:00 UTC
[jira] [Commented] (AMQ-9841) JMSConsumerTest NPE (race condition)
[ https://issues.apache.org/jira/browse/AMQ-9841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18056015#comment-18056015 ]
ASF subversion and git services commented on AMQ-9841:
------------------------------------------------------
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
> JMSConsumerTest NPE (race condition)
> ------------------------------------
>
> Key: AMQ-9841
> URL: https://issues.apache.org/jira/browse/AMQ-9841
> Project: ActiveMQ
> Issue Type: Test
> Reporter: Jean-Louis Monteiro
> Priority: Major
> Fix For: 6.3.0
>
>
> There is a race condition in activemq-unit-tests/src/test/java/org/apache/activemq/JMSConsumerTest.java
>
> We need to wait for the message2 to be dispatched to consumer2
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact