kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KAFKA-6228) Intermittent test failure in FetchRequestTest.testDownConversionWithConnectionFailure
Date Sat, 17 Feb 2018 01:32:00 GMT

     [ 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)

Mime
View raw message