[
https://issues.apache.org/jira/browse/NIFI-6337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16852980#comment-16852980
]
ASF subversion and git services commented on NIFI-6337:
-------------------------------------------------------
Commit a9d1dd7b08f7d7a9ab7056393e042dc984e817ba in nifi's branch
refs/heads/master from Andy LoPresto
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=a9d1dd7 ]
NIFI-6337 Resolved groovy unit test execution problems in
nifi-properties-loader and fixed failing unit tests.
Signed-off-by: Matthew Burgess <[email protected]>
This closes #3508
> 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)