You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jason Gustafson (JIRA)" <ji...@apache.org> on 2017/01/26 07:28:24 UTC

[jira] [Commented] (KAFKA-4699) Transient Failure PlaintextConsumerTest.testInterceptros

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

Jason Gustafson commented on KAFKA-4699:
----------------------------------------

Actually, it is an assertion on the behavior of the producer interceptor which is failing. This is most likely caused by the slight behavioral change in KAFKA-4597. The send future now returns before any callbacks have been invoked, but the producer interceptors are implemented as producer callbacks and the test depended on the previous ordering. 

> Transient Failure PlaintextConsumerTest.testInterceptros
> --------------------------------------------------------
>
>                 Key: KAFKA-4699
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4699
>             Project: Kafka
>          Issue Type: Bug
>          Components: unit tests
>            Reporter: Jason Gustafson
>            Assignee: Jason Gustafson
>             Fix For: 0.10.2.0
>
>
> Started seeing a bunch of these. Possibly related to KAFKA-4633?
> {code}
> kafka.api.PlaintextConsumerTest > testInterceptors FAILED
>     java.lang.AssertionError: expected:<10> but was:<1>
>         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.api.PlaintextConsumerTest.testInterceptors(PlaintextConsumerTest.scala:858)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)