ivankelly commented on issue #1145: Intermittent test failure in 
PersistentTopicTest.testClosingReplicationProducerTwice
URL: 
https://github.com/apache/incubator-pulsar/issues/1145#issuecomment-371220837
 
 
   Found the race. The builder stuff messed up this test completely, but the 
race is still there. Just put a 1s sleep after creating the replicator. Problem 
is ultimately that the mock should be applied before creating the replicator, 
because the replicator calls startProducer on construction, which will fail, 
and the call it again after a backoff, which is where the extra invokations are.
   
   I'll submit a patch tomorrow.

----------------------------------------------------------------
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