jolshan commented on code in PR #16973: URL: https://github.com/apache/kafka/pull/16973#discussion_r1731870150
########## core/src/test/scala/unit/kafka/tools/StorageToolTest.scala: ########## @@ -433,5 +433,91 @@ Found problem: contains("Formatting dynamic metadata voter directory %s".format(availableDirs.head)), "Failed to find content in output: " + stream.toString()) } -} + private def runVersionMappingCommand( + stream: ByteArrayOutputStream, + properties: Properties, + releaseVersion: String + ): Int = { + val tempDir = TestUtils.tempDir() + try { + // Write the properties to a temporary file + val configPathString = new File(tempDir.getAbsolutePath, "version-mapping.props").toString Review Comment: Do we need a properties file for this command? -- 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