You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/11/17 17:23:00 UTC

[jira] [Created] (KAFKA-6228) Intermittent test failure in FetchRequestTest.testDownConversionWithConnectionFailure

Ted Yu created KAFKA-6228:
-----------------------------

             Summary: Intermittent test failure in FetchRequestTest.testDownConversionWithConnectionFailure
                 Key: KAFKA-6228
                 URL: https://issues.apache.org/jira/browse/KAFKA-6228
             Project: Kafka
          Issue Type: Test
            Reporter: Ted Yu
            Priority: Minor


From https://builds.apache.org/job/kafka-trunk-jdk8/2219/testReport/junit/kafka.server/FetchRequestTest/testDownConversionWithConnectionFailure/ :
{code}
java.lang.AssertionError: Fetch size too small 42, broker may have run out of memory
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at kafka.server.FetchRequestTest.kafka$server$FetchRequestTest$$fetch$1(FetchRequestTest.scala:214)
	at kafka.server.FetchRequestTest$$anonfun$testDownConversionWithConnectionFailure$2.apply(FetchRequestTest.scala:226)
	at kafka.server.FetchRequestTest$$anonfun$testDownConversionWithConnectionFailure$2.apply(FetchRequestTest.scala:226)
	at scala.collection.immutable.Range.foreach(Range.scala:160)
	at kafka.server.FetchRequestTest.testDownConversionWithConnectionFailure(FetchRequestTest.scala:226)
{code}
I ran FetchRequestTest locally which passed.
{code}
          assertTrue(s"Fetch size too small $size, broker may have run out of memory",
              size > maxPartitionBytes - batchSize)
{code}
The assertion message should include maxPartitionBytes and batchSize which would give us more information.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)