[ https://issues.apache.org/jira/browse/ZOOKEEPER-2742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15990005#comment-15990005 ]
Mohammad Arshad commented on ZOOKEEPER-2742: -------------------------------------------- This issue is not applicable to branch-3.4. Merged to master: https://github.com/apache/zookeeper/commit/017ca1a24c1fa5988dd3c718f90b4beedb8a6a45 Merged to branch-3.5: https://github.com/apache/zookeeper/commit/acd116af648b962ff12c9289577fa8832ae91f5f Thanks [~a72877] for your contribution. [~rakeshr]/[~fpj]/[~phunt], Please add [~a72877] in contributors list. > 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)