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

ASF subversion and git services commented on NIFI-1385:
-------------------------------------------------------

Commit c757c4d6ead4b2a3f47d282fea3bd7f43de167c5 in nifi's branch 
refs/heads/NIFI-259 from [~alopresto]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c757c4d ]

NIFI-1385: Resolved test for missing file which was failing on Windows due to 
differing error message.

Reviewed by Tony Kurc ([email protected])


> 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
>            Reporter: Andy LoPresto
>            Assignee: Andy LoPresto
>            Priority: Minor
>              Labels: test, windows
>             Fix For: 0.5.0
>
>         Attachments: NIFI-1385.000.patch
>
>
> [~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)

Reply via email to