cmccabe commented on code in PR #18450:
URL: https://github.com/apache/kafka/pull/18450#discussion_r1907916903
##########
core/src/test/scala/integration/kafka/server/KRaftClusterTest.scala:
##########
@@ -1476,7 +1484,8 @@ class KRaftClusterTest {
val parentDir = log.parentDir
val targetParentDir = broker0.config.logDirs.filter(_ !=
parentDir).head
val targetDirFile = new File(targetParentDir, log.dir.getName)
- FileUtils.copyDirectory(log.dir, targetDirFile)
+ targetDirFile.mkdir()
+ copyDirectory(log.dir.toString(), targetDirFile.toString())
Review Comment:
This test used commons-io, which is being removed. (commons-io is generally
redundant with the new Java stuff, but was a ZK dependency.)
This change fixes the test not to use commons-io.
--
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]