You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/03/08 11:47:42 UTC
[GitHub] ivankelly opened a new pull request #1360: Fix race in PersistentTopicTest#testClosingReplicationProducerTwice
ivankelly opened a new pull request #1360: Fix race in PersistentTopicTest#testClosingReplicationProducerTwice
URL: https://github.com/apache/incubator-pulsar/pull/1360
A race existed where the replicator was making a startProducer call on
construction before the client was mocked. This startProducer would
fail on producer creation, which would trigger a backoff and a
retry. If this fell exactly the wrong way, it could cause
createProducerAsync to be called multiple times on the mock before the
check, which would fail the test.
This fix addresses issue #617 and it's duplicate #1145
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services