Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-6823

Transient failure in DynamicBrokerReconfigurationTest.testThreadPoolResize

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • unit tests
    • None

    Description

      Saw in my PR build (DK 10 and Scala 2.12 ):

      15:58:46 kafka.server.DynamicBrokerReconfigurationTest > testThreadPoolResize FAILED

      15:58:46     java.lang.AssertionError: Invalid threads: expected 6, got 7: List(ReplicaFetcherThread-0-0, ReplicaFetcherThread-0-1, ReplicaFetcherThread-0-2, ReplicaFetcherThread-0-0, ReplicaFetcherThread-0-2, ReplicaFetcherThread-1-0, ReplicaFetcherThread-0-1)

      15:58:46         at org.junit.Assert.fail(Assert.java:88)

      15:58:46         at org.junit.Assert.assertTrue(Assert.java:41)

      15:58:46         at kafka.server.DynamicBrokerReconfigurationTest.verifyThreads(DynamicBrokerReconfigurationTest.scala:1147)

      15:58:46         at kafka.server.DynamicBrokerReconfigurationTest.maybeVerifyThreadPoolSize$1(DynamicBrokerReconfigurationTest.scala:412)

      15:58:46         at kafka.server.DynamicBrokerReconfigurationTest.resizeThreadPool$1(DynamicBrokerReconfigurationTest.scala:431)

      15:58:46         at kafka.server.DynamicBrokerReconfigurationTest.reducePoolSize$1(DynamicBrokerReconfigurationTest.scala:417)

      15:58:46         at kafka.server.DynamicBrokerReconfigurationTest.$anonfun$testThreadPoolResize$3(DynamicBrokerReconfigurationTest.scala:440)

      15:58:46         at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:156)

      15:58:46         at kafka.server.DynamicBrokerReconfigurationTest.verifyThreadPoolResize$1(DynamicBrokerReconfigurationTest.scala:439)

      15:58:46         at kafka.server.DynamicBrokerReconfigurationTest.testThreadPoolResize(DynamicBrokerReconfigurationTest.scala:453)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              apovzner Anna Povzner
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: