Github user brightchen commented on a diff in the pull request:
https://github.com/apache/incubator-apex-malhar/pull/240#discussion_r59810546
--- Diff:
library/src/test/java/com/datatorrent/lib/io/fs/FileSplitterBaseTest.java ---
@@ -97,7 +97,13 @@ protected void starting(org.junit.runner.Description
description)
@Override
protected void finished(Description description)
{
- TestUtils.deleteTargetTestClassFolder(description);
+ try {
+ //got RuntimeException: java.io.IOException: Unable to delete
directory
target/com.datatorrent.lib.io.fs.FileSplitterBaseTest/testSplitterInApp
+ //in build server and sometime in local machine
+ TestUtils.deleteTargetTestClassFolder(description);
--- End diff --
deleteQuietly is method of FileUtils, which means we need to duplicate the
logic of "new File("target/" + description.getClassName())"
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---