You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Bryan Bende (JIRA)" <ji...@apache.org> on 2015/07/01 01:03:05 UTC

[jira] [Commented] (NIFI-743) .getSolr-mock-processor and .httpCache-mock-processor files in conf dir

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

Bryan Bende commented on NIFI-743:
----------------------------------

I remember basing TestGetSolr on TestGetHttp since they both used the same approach of saving state. Not sure why the state directories from the unit tests would be included in the build though. Both tests use File confDir = new File("conf"),  and the after method tries to clean up and delete everything under conf and then delete the actual directory. We could probably change that to be under the target of the given project, but requires a slight refactoring since the path is in a constant in each processor.

> .getSolr-mock-processor and .httpCache-mock-processor files in conf dir
> -----------------------------------------------------------------------
>
>                 Key: NIFI-743
>                 URL: https://issues.apache.org/jira/browse/NIFI-743
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Tools and Build
>            Reporter: Mark Payne
>             Fix For: 0.2.0
>
>
> I'm not sure where these are coming from but when I do a clean build, I'm ending up with 2 files in the conf/ directory that shouldn't be there: ".httpCache-mock-processor" and ".getSolr-mock-processor".
> Not sure if these were created when I did the build or when I launched the application, but either way they shouldn't be there.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)