rondagostino commented on a change in pull request #11606: URL: https://github.com/apache/kafka/pull/11606#discussion_r770109618
########## 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: The other option is to change the existing `generateConfigs()` method to take a `priorConfigs: Option[Seq[KafkaConfig]]` argument. This is a more intrusive change as it would require 30+ changes elsewhere, but I am not averse to doing it if that is preferred. -- 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