You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2019/03/15 04:13:44 UTC

[GitHub] [activemq-artemis] gaohoward opened a new pull request #2585: NO-JIRA Fix QueueImplTest#testRoundRobinWithQueueing

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:
users@infra.apache.org


With regards,
Apache Git Services