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 2017/11/03 02:47:00 UTC

[jira] [Commented] (KAFKA-5889) MetricsTest is flaky

    [ https://issues.apache.org/jira/browse/KAFKA-5889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16237005#comment-16237005 ] 

Ted Yu commented on KAFKA-5889:
-------------------------------

https://builds.apache.org/job/kafka-trunk-jdk7/2942 :
{code}
kafka.metrics.MetricsTest > testMetricsLeak FAILED
    java.lang.AssertionError: expected:<1694> but was:<1697>
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.failNotEquals(Assert.java:834)
        at org.junit.Assert.assertEquals(Assert.java:645)
        at org.junit.Assert.assertEquals(Assert.java:631)
        at kafka.metrics.MetricsTest$$anonfun$testMetricsLeak$1.apply$mcVI$sp(MetricsTest.scala:68)
        at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:160)
        at kafka.metrics.MetricsTest.testMetricsLeak(MetricsTest.scala:66)
{code}

> MetricsTest is flaky
> --------------------
>
>                 Key: KAFKA-5889
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5889
>             Project: Kafka
>          Issue Type: Test
>            Reporter: Ted Yu
>            Priority: Major
>
> The following appeared in several recent builds (e.g. https://builds.apache.org/job/kafka-trunk-jdk7/2758) :
> {code}
> kafka.metrics.MetricsTest > testMetricsLeak FAILED
>     java.lang.AssertionError: expected:<1216> but was:<1219>
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.failNotEquals(Assert.java:834)
>         at org.junit.Assert.assertEquals(Assert.java:645)
>         at org.junit.Assert.assertEquals(Assert.java:631)
>         at kafka.metrics.MetricsTest$$anonfun$testMetricsLeak$1.apply$mcVI$sp(MetricsTest.scala:68)
>         at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:160)
>         at kafka.metrics.MetricsTest.testMetricsLeak(MetricsTest.scala:66)
> {code}



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