zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Kumar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ZOOKEEPER-2742) Few test cases of org.apache.zookeeper.ZooKeeperTest fails in Windows.
Date Thu, 06 Apr 2017 15:10:42 GMT

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

Abhishek Kumar updated ZOOKEEPER-2742:
--------------------------------------
    Attachment: ZOOKEEPER-2742-01.patch

A simple patch attached, to make use of system specific line separator instead of hardcoded
one, pls take a look.

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