rondagostino commented on a change in pull request #11606: URL: https://github.com/apache/kafka/pull/11606#discussion_r771695520
########## File path: core/src/test/scala/unit/kafka/integration/KafkaServerTestHarness.scala ########## @@ -67,6 +68,14 @@ abstract class KafkaServerTestHarness extends QuorumTestHarness { */ def generateConfigs: Seq[KafkaConfig] + /** + * It is sometimes useful to keep the same log.dirs configuration value; override this method if that is desired + * + * @param priorConfigs the prior configs + * @return the new generated configs + */ + def regenerateConfigs(priorConfigs: Seq[KafkaConfig]): Seq[KafkaConfig] = generateConfigs + Review comment: I was able to remove this new `regenerateConfigs()` method and just implement some logic in the `ServerShutdownTest` class to save away the prior configs and react accordingly. I'm fine with doing it this way given that reconfiguration is rarely used and this solution is pretty easy to implement in test classes. -- 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