You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "David Jacot (Jira)" <ji...@apache.org> on 2022/01/10 13:34:00 UTC

[jira] [Updated] (KAFKA-13583) Fix FetchRequestBetweenDifferentIbpTest flaky tests

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

David Jacot updated KAFKA-13583:
--------------------------------
    Description: 
FetchRequestBetweenDifferentIbpTest's tests often fails with:

{noformat}
org.opentest4j.AssertionFailedError: expected: <2> but was: <1>
 at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
 at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
 at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150)
 at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145)
 at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:510)
 at integration.kafka.server.FetchRequestBetweenDifferentIbpTest.testControllerSwitchingIBP(FetchRequestBetweenDifferentIbpTest.scala:113)
 at integration.kafka.server.FetchRequestBetweenDifferentIbpTest.testControllerOldToNewIBP(FetchRequestBetweenDifferentIbpTest.scala:87)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
{noformat}

This might be due to [https://github.com/apache/kafka/commit/e8818e234a879d5ca45accba0121f43f45381f4a] where we reduced the poll timeout.

  was:
`FetchRequestBetweenDifferentIbpTest`'s tests often fails with:

```
org.opentest4j.AssertionFailedError: expected: <2> but was: <1>
 at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
 at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
 at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150)
 at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145)
 at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:510)
 at integration.kafka.server.FetchRequestBetweenDifferentIbpTest.testControllerSwitchingIBP(FetchRequestBetweenDifferentIbpTest.scala:113)
 at integration.kafka.server.FetchRequestBetweenDifferentIbpTest.testControllerOldToNewIBP(FetchRequestBetweenDifferentIbpTest.scala:87)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
```

This might be due to [https://github.com/apache/kafka/commit/e8818e234a879d5ca45accba0121f43f45381f4a] where we reduced the poll timeout.


> Fix FetchRequestBetweenDifferentIbpTest flaky tests
> ---------------------------------------------------
>
>                 Key: KAFKA-13583
>                 URL: https://issues.apache.org/jira/browse/KAFKA-13583
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: David Jacot
>            Priority: Minor
>
> FetchRequestBetweenDifferentIbpTest's tests often fails with:
> {noformat}
> org.opentest4j.AssertionFailedError: expected: <2> but was: <1>
>  at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
>  at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
>  at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150)
>  at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145)
>  at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:510)
>  at integration.kafka.server.FetchRequestBetweenDifferentIbpTest.testControllerSwitchingIBP(FetchRequestBetweenDifferentIbpTest.scala:113)
>  at integration.kafka.server.FetchRequestBetweenDifferentIbpTest.testControllerOldToNewIBP(FetchRequestBetweenDifferentIbpTest.scala:87)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
> {noformat}
> This might be due to [https://github.com/apache/kafka/commit/e8818e234a879d5ca45accba0121f43f45381f4a] where we reduced the poll timeout.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)