GitHub user ijuma opened a pull request:
https://github.com/apache/kafka/pull/2584
MINOR: Fix transient failure of testCannotSendToInternalTopic
Itâs a simple matter of creating the internal topic before trying to send
to it. Otherwise, we could get an `UnknownTopicOrPartitionException`
in some cases.
Without the change, I could reproduce a failure in less than
5 runs. With the change, 30 consecutive runs succeeded.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ijuma/kafka
test-cannot-send-to-internal-topic-transient-failure
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/2584.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2584
----
commit a6a1bf20f7ceee1c5f1f51ceef64c52830dc3df7
Author: Ismael Juma <[email protected]>
Date: 2017-02-22T11:52:18Z
MINOR: Fix transient failure of testCannotSendToInternalTopic
Itâs a simple matter of creating the internal topic before trying to send
to it. Otherwise, we could get an `UnknownTopicOrPartitionException`
in some cases.
Without the change, I could reproduce a failure in less than
5 runs. With the change, 30 consecutive runs succeeded.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---