[ 
https://issues.apache.org/jira/browse/FLUME-2150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roshan Naik updated FLUME-2150:
-------------------------------

    Attachment: FLUME-2150.patch

uploading patch
                
> Windows:  TestFileChannelEncryption needs to be a bit more conservative when 
> examining the exception message
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: FLUME-2150
>                 URL: https://issues.apache.org/jira/browse/FLUME-2150
>             Project: Flume
>          Issue Type: Bug
>          Components: Windows
>    Affects Versions: v1.4.0
>            Reporter: Roshan Naik
>            Assignee: Roshan Naik
>         Attachments: FLUME-2150.patch
>
>
> Current assertion is :
> Assert.assertEquals("java.io.FileNotFoundException: /path/does/not/exist " + 
> ...)
> On Windows the message is a bit different The tail end part /path/.. is not 
> same.
> Suffices to check the prefix to be platform independent:      
> Assert.assertTrue(ex.getMessage().startsWith("java.io.FileNotFoundException"));

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to