[ https://issues.apache.org/jira/browse/NIFI-2092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15346741#comment-15346741 ]
ASF GitHub Bot commented on NIFI-2092: -------------------------------------- GitHub user JPercivall opened a pull request: https://github.com/apache/nifi/pull/568 NIFI-2092 Fixing unit tests which try to clean up directories before … …stopping the FlowController that has locks opened. You can merge this pull request into a Git repository by running: $ git pull https://github.com/JPercivall/nifi NIFI-2092 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/nifi/pull/568.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #568 ---- commit 8ed0ddadcd3d494997f231aafb406fa62d23824e Author: jpercivall <joeperciv...@yahoo.com> Date: 2016-06-23T16:42:16Z NIFI-2092 Fixing unit tests which try to clean up directories before stopping the FlowController that has locks opened. ---- > TestProcessorLifecyle fails on Windows > -------------------------------------- > > Key: NIFI-2092 > URL: https://issues.apache.org/jira/browse/NIFI-2092 > Project: Apache NiFi > Issue Type: Bug > Reporter: Joseph Percivall > Assignee: Joseph Percivall > Fix For: 1.0.0, 0.7.0 > > > Currently, the "after" method tries to delete the content-repo and test-repo > before shutting down the flowcontroller[1] (causing failures due to files > being locked). > `fc.shutdown(true)` should be moved before the deleteDirectory() calls. > [1] > https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/scheduling/TestProcessorLifecycle.java#L93-L93 -- This message was sent by Atlassian JIRA (v6.3.4#6332)