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

Race condition in DynamicBrokerConfig

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 3.2.0
    • None
    • None

    Description

      Stacktrace:

      org.opentest4j.AssertionFailedError: expected: <2> but was: <1>
      	at app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
      	at app//org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
      	at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
      	at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
      	at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1141)
      	at app//kafka.server.DynamicBrokerReconfigurationTest.$anonfun$waitForConfigOnServer$1(DynamicBrokerReconfigurationTest.scala:1500)
      	at app//kafka.server.DynamicBrokerReconfigurationTest.waitForConfigOnServer(DynamicBrokerReconfigurationTest.scala:1500)
      	at app//kafka.server.DynamicBrokerReconfigurationTest.$anonfun$waitForConfig$1(DynamicBrokerReconfigurationTest.scala:1495)
      	at app//kafka.server.DynamicBrokerReconfigurationTest.$anonfun$waitForConfig$1$adapted(DynamicBrokerReconfigurationTest.scala:1495)
      	at app//scala.collection.IterableOnceOps.foreach(IterableOnce.scala:563)
      	at app//scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:561)
      	at app//scala.collection.AbstractIterable.foreach(Iterable.scala:926)
      	at app//kafka.server.DynamicBrokerReconfigurationTest.waitForConfig(DynamicBrokerReconfigurationTest.scala:1495)
      	at app//kafka.server.DynamicBrokerReconfigurationTest.reconfigureServers(DynamicBrokerReconfigurationTest.scala:1440)
      	at app//kafka.server.DynamicBrokerReconfigurationTest.resizeThreadPool$1(DynamicBrokerReconfigurationTest.scala:775)
      	at app//kafka.server.DynamicBrokerReconfigurationTest.$anonfun$testThreadPoolResize$3(DynamicBrokerReconfigurationTest.scala:768)
      	at app//scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:190)
      	at app//kafka.server.DynamicBrokerReconfigurationTest.testThreadPoolResize(DynamicBrokerReconfigurationTest.scala:784)
      

      Job: https://ci-builds.apache.org/job/Kafka/job/kafka-pr/job/PR-11751/5/testReport/

      Attachments

        Activity

          People

            lclarkenz Liam Clarke-Hutchinson
            cadonna Bruno Cadonna
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: