Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-7645 Fix flaky unit test for 2.1 branch
  3. KAFKA-7647

Flaky test LogCleanerParameterizedIntegrationTest.testCleansCombinedCompactAndDeleteTopic

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.1.1, 2.3.0
    • None
    • core, unit tests

    Description

      kafka.log.LogCleanerParameterizedIntegrationTest >
      testCleansCombinedCompactAndDeleteTopic[3] FAILED
          java.lang.AssertionError: Contents of the map shouldn't change
      expected:<Map(0 -> (340,340), 5 -> (345,345), 10 -> (350,350), 14 ->
      (354,354), 1 -> (341,341), 6 -> (346,346), 9 -> (349,349), 13 -> (353,353),
      2 -> (342,342), 17 -> (357,357), 12 -> (352,352), 7 -> (347,347), 3 ->
      (343,343), 18 -> (358,358), 16 -> (356,356), 11 -> (351,351), 8 ->
      (348,348), 19 -> (359,359), 4 -> (344,344), 15 -> (355,355))> but
      was:<Map(0 -> (340,340), 5 -> (345,345), 10 -> (350,350), 14 -> (354,354),
      1 -> (341,341), 6 -> (346,346), 9 -> (349,349), 13 -> (353,353), 2 ->
      (342,342), 17 -> (357,357), 12 -> (352,352), 7 -> (347,347), 3 ->
      (343,343), 18 -> (358,358), 16 -> (356,356), 11 -> (351,351), 99 ->
      (299,299), 8 -> (348,348), 19 -> (359,359), 4 -> (344,344), 15 ->
      (355,355))>
              at org.junit.Assert.fail(Assert.java:88)
              at org.junit.Assert.failNotEquals(Assert.java:834)
              at org.junit.Assert.assertEquals(Assert.java:118)
              at
      kafka.log.LogCleanerParameterizedIntegrationTest.testCleansCombinedCompactAndDeleteTopic(LogCleanerParameterizedIntegrationTest.scala:129)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            lindong Dong Lin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: