matthiasblaesing opened a new pull request, #8187: URL: https://github.com/apache/netbeans/pull/8187
For the groovy.editor unittests several fails were observed, where the testfailure did not result from the test itself, but by the cleanup routine. The cleanup removes the work directory to prepare for the next test run. The recursive deletion can fail with an `IOException`, because new files are created, while the directory tree is traversed. Observed where `archives.properties` and `segments` from parsing API. Both are saved delayed. Instead of failing, the deletion is retried to continue testing. The observed stacktrace: ``` at java.base/sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:246) at java.base/sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:105) at java.base/java.nio.file.Files.delete(Files.java:1152) at org.netbeans.junit.NbTestCase$4.postVisitDirectory(NbTestCase.java:1006) at org.netbeans.junit.NbTestCase$4.postVisitDirectory(NbTestCase.java:998) at java.base/java.nio.file.Files.walkFileTree(Files.java:2828) at java.base/java.nio.file.Files.walkFileTree(Files.java:2882) at org.netbeans.junit.NbTestCase.deleteFile(NbTestCase.java:998) at org.netbeans.junit.NbTestCase.deleteSubFiles(NbTestCase.java:1017) at org.netbeans.junit.NbTestCase.clearWorkDir(NbTestCase.java:1031) at org.netbeans.modules.groovy.editor.api.parser.GroovyParserTest.tearDown(GroovyParserTest.java:79) at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:530) at org.netbeans.junit.NbTestCase.run(NbTestCase.java:298) ``` -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
