AHeise commented on a change in pull request #10567: [FLINK-15244][FileSystems] 
Fix the bug that FileUtils#deleteDirectoryInternal will delete files in the 
symbolic link which point to a directory.
URL: https://github.com/apache/flink/pull/10567#discussion_r358675018
 
 

 ##########
 File path: flink-core/src/test/java/org/apache/flink/util/FileUtilsTest.java
 ##########
 @@ -202,6 +202,24 @@ public void testDeleteDirectoryWhichIsAFile() throws 
Exception {
                }
        }
 
+       @Test
+       public void testDeleteSymbolicLinkDirectory() throws Exception {
+
+               // deleting a symbolic link directory should not delete the 
files in it.
 
 Review comment:
   Please add that general comment as a javadoc to this test.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to