You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Michael Han (JIRA)" <ji...@apache.org> on 2017/01/03 22:26:58 UTC
[jira] [Reopened] (ZOOKEEPER-2656) Fix
ServerConfigTest#testValidArguments test case failures
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Han reopened ZOOKEEPER-2656:
------------------------------------
Assignee: Michael Han (was: Rakesh R)
This fix broken branch-3.4, where ServerConfig.getDataDir return type String instead of type File (there is a discrepancy between branch.3.4 and master/3.5 with regards to what getDataDir returns.). PR in a minute..
> Fix ServerConfigTest#testValidArguments test case failures
> ----------------------------------------------------------
>
> Key: ZOOKEEPER-2656
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2656
> Project: ZooKeeper
> Issue Type: Test
> Reporter: Rakesh R
> Assignee: Michael Han
> Fix For: 3.4.10, 3.5.3, 3.6.0
>
>
> This jira to fix ServerConfigTest#testValidArguments test case failure. Reference: https://builds.apache.org/job/ZooKeeper-trunk/3207/testReport/org.apache.zookeeper/ServerConfigTest/testValidArguments/
> {code}
> Error Message
> expected: java.lang.String</data/dir> but was: java.io.File</data/dir>
> Stacktrace
> junit.framework.AssertionFailedError: expected: java.lang.String</data/dir> but was: java.io.File</data/dir>
> at org.apache.zookeeper.ServerConfigTest.testValidArguments(ServerConfigTest.java:48)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)