Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2054 Fix Kafka transient unit test failures
  3. KAFKA-3926

Transient failures in org.apache.kafka.streams.integration.RegexSourceIntegrationTest

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.1.0
    • Component/s: streams, unit tests
    • Labels:
      None

      Description

      org.apache.kafka.streams.integration.RegexSourceIntegrationTest > testRegexMatchesTopicsAWhenDeleted FAILED
          java.lang.AssertionError: 
          Expected: <[TEST-TOPIC-A, TEST-TOPIC-B]>
               but: was <[TEST-TOPIC-A]>
              at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
              at org.junit.Assert.assertThat(Assert.java:956)
              at org.junit.Assert.assertThat(Assert.java:923)
              at org.apache.kafka.streams.integration.RegexSourceIntegrationTest.testRegexMatchesTopicsAWhenDeleted(RegexSourceIntegrationTest.java:211)
      

      I think it is due to the fact that some times the rebalance takes much longer than the specified 60 seconds.

      One example: https://builds.apache.org/job/kafka-trunk-jdk8/730/consoleFull

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bbejeck Bill Bejeck
                Reporter:
                guozhang Guozhang Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: