gaohoward opened a new pull request #2585: NO-JIRA Fix 
QueueImplTest#testRoundRobinWithQueueing
URL: https://github.com/apache/activemq-artemis/pull/2585
 
 
   This test fails occasionally because the queue's delivering thread
   may interference with the consumer's iterator during consumers adding.
   The result is that the first of the 2 consumers may get iterated
   twice and therefore the messages received by the 2 consumers are
   not even.
   
   Tha change puts the message add after the consumer add so that
   the delivering thread only kicks off after consumers are all added
   and messages should be evenly distributed to both consumers.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to