merlimat opened a new pull request #1144: Fix race condition in 
testRedeliveryOnBlockedDistpatcher
URL: https://github.com/apache/incubator-pulsar/pull/1144
 
 
   ### Motivation
   
   The test is using `receiveAsync()` over multiple consumer objects and adding 
the message ids on an unsynchronized `List<>`. There are chances that some of 
the updates on the list are missed, leading the test to fail.
   
   ### Modifications
   
   Use a `ConcurrentLinkedQueue` to store the message ids.
   
   ### Result
   
   Fixes #814 
   
   ### Result
   
   After your change, what will change.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to