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

Transient test failure: ConsumerCoordinatorTest.testHeartbeatThreadClose

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.10.2.1, 0.11.0.0
    • None
    • None

    Description

      I've seen this failure in Jenkins a number of times:

      java.lang.AssertionError: Heartbeat thread active after close
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.junit.Assert.assertFalse(Assert.java:64)
      	at org.apache.kafka.clients.consumer.internals.ConsumerCoordinatorTest.testHeartbeatThreadClose(ConsumerCoordinatorTest.java:1425)
      

      https://jenkins.confluent.io/job/kafka-0.10.2/88/testReport/org.apache.kafka.clients.consumer.internals/ConsumerCoordinatorTest/testHeartbeatThreadClose/

      rsivaram, do you think you can take a look since you wrote the test?

      Attachments

        Issue Links

          Activity

            People

              rsivaram Rajini Sivaram
              ijuma Ismael Juma
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: