[
https://issues.apache.org/jira/browse/NIFI-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15095239#comment-15095239
]
ASF GitHub Bot commented on NIFI-1385:
--------------------------------------
Github user alopresto commented on the pull request:
https://github.com/apache/nifi/pull/170#issuecomment-171102561
NIFI-1385
This also fixes the failing test on Windows due to differing error messages
on various OS.
> PGP missing keyring file test fails on Windows
> ----------------------------------------------
>
> Key: NIFI-1385
> URL: https://issues.apache.org/jira/browse/NIFI-1385
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 0.4.1
> Reporter: Andy LoPresto
> Assignee: Andy LoPresto
> Priority: Minor
> Labels: test, windows
> Fix For: 0.5.0
>
>
> [~jameswing] reported on the mailing list that
> `TestEncryptContent.testShouldValidatePGPPublicKeyringExists` was failing on
> a Windows 10 machine but passing on a Linux machine. The cause of this is
> that the test was inspecting the validation result and expecting a specific
> message which was provided on Mac OS X and Linux systems but differs on
> Windows.
> The resolution is to inspect the validation result for the fully-qualified
> exception class name "java.io.FileNotFoundException" rather than OS-dependent
> messaging.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)