[
https://issues.apache.org/jira/browse/KAFKA-4265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15555779#comment-15555779
]
ASF GitHub Bot commented on KAFKA-4265:
---------------------------------------
GitHub user rajinisivaram opened a pull request:
https://github.com/apache/kafka/pull/1991
KAFKA-4265: Run replication quotas test with producer acks=1
Test expects all records to be published successfully, which cannot be
guaranteed with acks=0 since failures are not retried.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rajinisivaram/kafka KAFKA-4265
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/1991.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 #1991
----
commit ec3cc4adcebdce213a023c4ec8081aa1132f78cf
Author: Rajini Sivaram <[email protected]>
Date: 2016-10-07T17:32:29Z
KAFKA-4265: Run replication quotas test with producer acks=1
----
> Intermittent test failure
> ReplicationQuotasTest.shouldBootstrapTwoBrokersWithFollowerThrottle
> ---------------------------------------------------------------------------------------------
>
> Key: KAFKA-4265
> URL: https://issues.apache.org/jira/browse/KAFKA-4265
> Project: Kafka
> Issue Type: Bug
> Components: unit tests
> Reporter: Rajini Sivaram
> Assignee: Rajini Sivaram
>
> https://builds.apache.org/job/kafka-trunk-git-pr-jdk7/6085/testReport/junit/kafka.server/ReplicationQuotasTest/shouldBootstrapTwoBrokersWithFollowerThrottle:
> {quote}
> java.lang.AssertionError: Offsets did not match for partition 0 on broker 100
> at org.junit.Assert.fail(Assert.java:88)
> at kafka.utils.TestUtils$.waitUntilTrue(TestUtils.scala:752)
> at
> kafka.server.ReplicationQuotasTest.kafka$server$ReplicationQuotasTest$$waitForOffsetsToMatch(ReplicationQuotasTest.scala:223)
> at
> kafka.server.ReplicationQuotasTest$$anonfun$shouldMatchQuotaReplicatingThroughAnAsymmetricTopology$3.apply$mcZI$sp(ReplicationQuotasTest.scala:130)
> at
> kafka.server.ReplicationQuotasTest$$anonfun$shouldMatchQuotaReplicatingThroughAnAsymmetricTopology$3.apply(ReplicationQuotasTest.scala:130)
> at
> kafka.server.ReplicationQuotasTest$$anonfun$shouldMatchQuotaReplicatingThroughAnAsymmetricTopology$3.apply(ReplicationQuotasTest.scala:130)
> at scala.collection.immutable.Range.foreach(Range.scala:141)
> at
> kafka.server.ReplicationQuotasTest.shouldMatchQuotaReplicatingThroughAnAsymmetricTopology(ReplicationQuotasTest.scala:130)
> at
> kafka.server.ReplicationQuotasTest.shouldBootstrapTwoBrokersWithFollowerThrottle(ReplicationQuotasTest.scala:73)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)