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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.10.1.0
    • streams, unit tests
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: