zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-2742) Few test cases of org.apache.zookeeper.ZooKeeperTest fails in Windows
Date Sat, 22 Apr 2017 05:54:04 GMT

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

ASF GitHub Bot commented on ZOOKEEPER-2742:
-------------------------------------------

GitHub user abhi-kr opened a pull request:

    https://github.com/apache/zookeeper/pull/237

    ZOOKEEPER-2742: Few test cases of org.apache.zookeeper.ZooKeeperTest …

     Few test cases of org.apache.zookeeper.ZooKeeperTest fails in Windows

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/abhi-kr/zookeeper ZOOKEEPER-2742

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zookeeper/pull/237.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #237
    
----
commit 448628d116cfbdfdd76b812738e51f822c24dc72
Author: Abhishek Kumar <abhishek.kr@huawei.com>
Date:   2017-04-22T05:48:56Z

    ZOOKEEPER-2742: Few test cases of org.apache.zookeeper.ZooKeeperTest fails in Windows

----


> Few test cases of org.apache.zookeeper.ZooKeeperTest fails in Windows
> ---------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2742
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2742
>             Project: ZooKeeper
>          Issue Type: Test
>          Components: tests
>         Environment: Windows
>            Reporter: Abhishek Kumar
>            Priority: Trivial
>             Fix For: 3.5.4, 3.6.0
>
>         Attachments: ZOOKEEPER-2742-01.patch
>
>
> Following test cases fail in Windows environment:
> 1. org.apache.zookeeper.ZooKeeperTest.testLsrRootCommand()
> 2. org.apache.zookeeper.ZooKeeperTest.testLsrCommand()
> It seems that failure is related to use of  "\n" (System dependent new line char)in org.apache.zookeeper.ZooKeeperTest.runCommandExpect(CliCommand,
List<String>)
> ......................................
> ......................................
>  String result = byteStream.toString();
>         assertTrue(result, result.contains(
>                 StringUtils.joinStrings(expectedResults, "\n")));
> ......................................
> ......................................



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message