[
https://issues.apache.org/jira/browse/KAFKA-4184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15498706#comment-15498706
]
ASF GitHub Bot commented on KAFKA-4184:
---------------------------------------
GitHub user benstopford opened a pull request:
https://github.com/apache/kafka/pull/1873
KAFKA-4184: Intermitant failures in
ReplicationQuotasTest.shouldBootstrapTwoBrokersWithFollowerThrottle
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/benstopford/kafka KAFKA-4184
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/1873.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 #1873
----
commit 812edfebf27a942ea26c1e0c74010e233932aad2
Author: Ben Stopford <[email protected]>
Date: 2016-09-17T09:32:10Z
KAFKA-4184: Because we don't have long to run the test, replication can be
uneven across brokers. Instead take the average rate and increase the
tollerance a bit
commit 2ea94074254bf10a8ad862e742112a3fa5e7d3d1
Author: Ben Stopford <[email protected]>
Date: 2016-09-17T10:12:04Z
KAFKA-4184: Split out rate comparison into bonds checks rather than
equality
----
> Test failure in
> ReplicationQuotasTest.shouldBootstrapTwoBrokersWithFollowerThrottle
> -----------------------------------------------------------------------------------
>
> Key: KAFKA-4184
> URL: https://issues.apache.org/jira/browse/KAFKA-4184
> Project: Kafka
> Issue Type: Bug
> Components: unit tests
> Reporter: Jason Gustafson
> Assignee: Ben Stopford
>
> Seen here: https://builds.apache.org/job/kafka-trunk-jdk7/1544/.
> {code}
> unit.kafka.server.ReplicationQuotasTest >
> shouldBootstrapTwoBrokersWithFollowerThrottle FAILED
> java.lang.AssertionError: expected:<3.0E7> but was:<2.060725619683527E7>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:553)
> at org.junit.Assert.assertEquals(Assert.java:683)
> at
> unit.kafka.server.ReplicationQuotasTest$$anonfun$shouldMatchQuotaReplicatingThroughAnAsymmetricTopology$14.apply(ReplicationQuotasTest.scala:172)
> at
> unit.kafka.server.ReplicationQuotasTest$$anonfun$shouldMatchQuotaReplicatingThroughAnAsymmetricTopology$14.apply(ReplicationQuotasTest.scala:168)
> at scala.collection.Iterator$class.foreach(Iterator.scala:727)
> at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
> at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
> at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
> at
> unit.kafka.server.ReplicationQuotasTest.shouldMatchQuotaReplicatingThroughAnAsymmetricTopology(ReplicationQuotasTest.scala:168)
> at
> unit.kafka.server.ReplicationQuotasTest.shouldBootstrapTwoBrokersWithFollowerThrottle(ReplicationQuotasTest.scala:74)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)