cmccabe commented on a change in pull request #11606: URL: https://github.com/apache/kafka/pull/11606#discussion_r770130266
########## 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: Isn't there a simpler way of doing this where subclasses who want the old configs just do `super.generateConfigs` and then modify what that function returns? I'm not convinced we need a new function or argument here. -- 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