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

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

     [ https://issues.apache.org/jira/browse/KAFKA-6228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu resolved KAFKA-6228.
---------------------------
    Resolution: Cannot Reproduce

> 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
(v7.6.3#76005)