brandboat commented on code in PR #16186:
URL: https://github.com/apache/kafka/pull/16186#discussion_r1625550301


##########
core/src/test/scala/unit/kafka/tools/StorageToolTest.scala:
##########
@@ -213,7 +213,7 @@ Found problem:
     val availableDirs = Seq(TestUtils.tempDir(), TestUtils.tempDir(), 
TestUtils.tempDir()).map(dir => dir.toString)
     val stream = new ByteArrayOutputStream()
     assertEquals(0, runFormatCommand(stream, availableDirs))
-    val actual = stream.toString().split("\\r?\\n")
+    val actual = stream.toString().split("\\r?\\n").drop(1)
     val expect = availableDirs.map("Formatting %s".format(_))
     assertEquals(availableDirs.size, actual.size)

Review Comment:
   I've addressed comments in the latest commit, thanks for reviewing.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to