[ 
https://issues.apache.org/jira/browse/NIFI-2092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joseph Percivall updated NIFI-2092:
-----------------------------------
    Description: 
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

  was:
Currently, the "after" method tries to delete the content-repo and test-repo 
before shutting down the flowcontroller (causing failures due to files being 
locked).

`fc.shutdown(true)` should be moved before the deleteDirectory() calls.


> 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