70e3888910
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. |
||
---|---|---|
.. | ||
src/test | ||
pom.xml |