[
https://issues.apache.org/jira/browse/NIFI-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15071892#comment-15071892
]
ASF subversion and git services commented on NIFI-1289:
-------------------------------------------------------
Commit ebcefaac23a890233703fe1fd7f43997cb4541c6 in nifi's branch
refs/heads/master from [~ozhurakousky]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=ebcefaa ]
NIFI-1289 reverted new method of NiFiProperties in favor of the localized
reflection call in test to refresh properties.
Reviewed and Amended (added comments) by Tony Kurc ([email protected]). This
closes #150
> Inconsistent bootstrapping of nifi.properties
> ---------------------------------------------
>
> Key: NIFI-1289
> URL: https://issues.apache.org/jira/browse/NIFI-1289
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 0.4.0
> Reporter: Oleg Zhurakousky
> Assignee: Oleg Zhurakousky
> Priority: Minor
> Fix For: 0.5.0
>
>
> NiFiProperties caches the 'instance' of properties in a typical Singleton
> fashion.
> This creates issues with tests that provide location of nifi.properties for
> its run when running the entire suite. Fir example when running
> TestStandardProcessScheduler, the first line in setup method:
> {code}
> System.setProperty("nifi.properties.file.path",
> "src/test/resources/nifi.properties");
> {code}
> It is absolutely meaningless when such test is ran as part of the suite
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)