You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Mohammad Arshad (JIRA)" <ji...@apache.org> on 2017/04/06 05:00:48 UTC
[jira] [Commented] (ZOOKEEPER-2742) Few test cases of
org.apache.zookeeper.ZooKeeperTest fails in Windows.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15958288#comment-15958288 ]
Mohammad Arshad commented on ZOOKEEPER-2742:
--------------------------------------------
Windows is not fully supported by zookeeper, but it makes sense to fix these very obvious test failures.
[~a72877], are u willing to submit a fix.
> 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
>
> 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)