jolshan commented on code in PR #16973: URL: https://github.com/apache/kafka/pull/16973#discussion_r1733161358
########## 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: Hmm... it appears like the uuid command doesn't need it? Is it the case that you could remove line 262 and it would work? -- 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