Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-16092 Queues for Kafka
  3. KAFKA-17809

Fix flaky test: testExplicitAcknowledgementCommitAsync

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      ShareConsumerTest: testExplicitAcknowledgementCommitAsync is flaky

      https://github.com/apache/kafka/actions/runs/11354171046/job/31581087161

       

      org.opentest4j.AssertionFailedError: expected: <1> but was: <0>
      	at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
      	at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
      	at app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
      	at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150)
      	at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145)
      	at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:531)
      	at app//kafka.test.api.ShareConsumerTest.testExplicitAcknowledgementCommitAsync(ShareConsumerTest.java:544)
      	at java.base@21.0.4/java.lang.reflect.Method.invoke(Method.java:580)
      	at java.base@21.0.4/java.util.ArrayList.forEach(ArrayList.java:1596)
      	at java.base@21.0.4/java.util.ArrayList.forEach(ArrayList.java:1596) 

      Attachments

        Issue Links

          Activity

            People

              apoorvmittal10 Apoorv Mittal
              apoorvmittal10 Apoorv Mittal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: