[ 
https://issues.apache.org/jira/browse/NIFI-2092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15346909#comment-15346909
 ] 

ASF subversion and git services commented on NIFI-2092:
-------------------------------------------------------

Commit 6e7b67e8480d5c2772eac90a4a8aae32704b5fb0 in nifi's branch refs/heads/0.x 
from [~JPercivall]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=6e7b67e ]

NIFI-2092 Fixing unit tests which try to clean up directories before stopping 
the FlowController that has locks opened.

This closes #568


> 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)

Reply via email to