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

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

Commit f0662a24ef6ddd73eecf5393cb83718d38ae5cd5 in nifi's branch 
refs/heads/master from [~JPercivall]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=f0662a2 ]

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