You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Ivan Mitic (JIRA)" <ji...@apache.org> on 2013/03/05 20:36:13 UTC

[jira] [Updated] (HADOOP-9365) TestHAZKUtil fails on Windows

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

Ivan Mitic updated HADOOP-9365:
-------------------------------

    Attachment: HADOOP-9365.branch-trunk-win.hazkutil.patch

Attaching the test fix. The issue is that the test assumes unix path separator for a local path.
                
> TestHAZKUtil fails on Windows
> -----------------------------
>
>                 Key: HADOOP-9365
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9365
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: trunk-win
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>         Attachments: HADOOP-9365.branch-trunk-win.hazkutil.patch
>
>
> TestHAZKUtil#testConfIndirectionfails on the following validation:
> assertTrue(fnfe.getMessage().startsWith(BOGUS_FILE));
> because the path separators do not match:
> Expected: \xxxx-this-does-not-exist
> Actual: /xxxx-this-does-not-exist

--
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