[
https://issues.apache.org/jira/browse/BOOKKEEPER-866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14900115#comment-14900115
]
Jia Zhai commented on BOOKKEEPER-866:
-------------------------------------
It is strange that this change involved some test error:
Test Result (失败)
org.apache.bookkeeper.client.BookKeeperTest.testConstructionZkDelay[0]
org.apache.bookkeeper.client.BookKeeperTest.testConstructionNotConnectedExplicitZk[0]
org.apache.bookkeeper.client.BookKeeperTest.testConstructionZkDelay[1]
org.apache.bookkeeper.client.BookKeeperTest.testConstructionNotConnectedExplicitZk[1]
org.apache.bookkeeper.zookeeper.TestZooKeeperClient.testReconnectAfterExipred
> Fix compile issue when Updating junit to latest release version( 4.12) in the
> test of Bookkeeper-server.
> ---------------------------------------------------------------------------------------------------------
>
> Key: BOOKKEEPER-866
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-866
> Project: Bookkeeper
> Issue Type: Improvement
> Components: bookkeeper-server
> Reporter: Jia Zhai
> Assignee: Jia Zhai
> Attachments: BOOKKEEPER-866.patch
>
>
> When write test cases for BOOKKEEPER-865, It appears that current version of
> junit could not support some new features well, such as Parameterized test.
> Then we try to update junit to latest release version, but found "
> junit.framework.Assert in junit.framework has been deprecated" .
> So using this new ticket to trace this to make the objective more clear.
> The fix is simple,
> replace
> import junit.framework.Assert;
> to
> import org.junit.Assert;
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)