[
https://issues.apache.org/jira/browse/NIFI-6337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Burgess updated NIFI-6337:
-------------------------------
Status: Patch Available (was: Open)
> Fix groovy tests in nifi-properties-loader module
> -------------------------------------------------
>
> Key: NIFI-6337
> URL: https://issues.apache.org/jira/browse/NIFI-6337
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Tools and Build
> Affects Versions: 1.9.2
> Reporter: Andy LoPresto
> Assignee: Andy LoPresto
> Priority: Major
> Labels: groovy, test
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The Groovy tests in {{nifi-properties-loader}} were not running because there
> was no {{src/test/java}} directory. This is a known issue. The two solutions
> (in preferred order):
> 1. Add a custom plugin configuration to the module's {{pom.xml}} to
> explicitly add the {{src/test/groovy}} directory as a resource
> 1. Add an empty file in {{src/test/java/Example.java}}
> The latter is confusing to developers unfamiliar with this issue and subject
> to accidental "cleanup" in the future.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)