cmccabe commented on a change in pull request #11606:
URL: https://github.com/apache/kafka/pull/11606#discussion_r781651984



##########
File path: 
core/src/test/scala/unit/kafka/integration/KafkaServerTestHarness.scala
##########
@@ -142,6 +127,19 @@ abstract class KafkaServerTestHarness extends 
QuorumTestHarness {
     super.tearDown()
   }
 
+  def recreateBrokers(reconfigure: Boolean = false, startup: Boolean = false): 
Unit = {
+    if (reconfigure) {
+      instanceConfigs = null
+    }
+    if (configs.isEmpty)
+      throw new KafkaException("Must supply at least one server config.")
+
+    TestUtils.shutdownServers(_brokers, deleteLogDirs = false)

Review comment:
       Can we set the "alive" array to all false after this line, so that it 
stays in sync with what is going on?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to