Skip to content

Commit fed4170

Browse files
committed
Remove unnecessary sleep in testDeleteDirectoryOnIOException
Eliminated redundant sleep call in FileUtilsTest to improve test efficiency and clarity.
1 parent df7d7d7 commit fed4170

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

microsphere-java-core/src/test/java/io/microsphere/io/FileUtilsTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ void testDeleteDirectoryOnIOException() throws Exception {
117117
executor.submit(this::testDeleteDirectoryOnIOException0);
118118
shutdown(executor);
119119
while (!executor.isTerminated()) {
120-
sleep(10L);
121120
}
122121
}
123122

0 commit comments

Comments
 (0)