[
https://issues.apache.org/jira/browse/ZOOKEEPER-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13930221#comment-13930221
]
Hudson commented on ZOOKEEPER-1662:
-----------------------------------
SUCCESS: Integrated in ZooKeeper-trunk #2244 (See
[https://builds.apache.org/job/ZooKeeper-trunk/2244/])
ZOOKEEPER-1662. Fix to two small bugs in ReconfigTest.testPortChange()
(Alexander Shraer via michim) (michim:
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1576174)
* /zookeeper/trunk/CHANGES.txt
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/ReconfigTest.java
> Fix to two small bugs in ReconfigTest.testPortChange()
> ------------------------------------------------------
>
> Key: ZOOKEEPER-1662
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1662
> Project: ZooKeeper
> Issue Type: Bug
> Components: tests
> Affects Versions: 3.5.0
> Reporter: Alexander Shraer
> Assignee: Alexander Shraer
> Priority: Minor
> Fix For: 3.5.0
>
> Attachments: TestPortChange.patch
>
>
> Fix to two small bugs in ReconfigTest.testPortChange():
> 1. the test expected a port change to happen immediately, which is not
> necessarily
> going to happen. The fix waits a bit and also tries several times.
> 2. when a client port changes, the test created a new ZooKeeper handle, but
> didn't specify a Watcher object, which generated some NullPointerException
> events when the watcher was triggered.
--
This message was sent by Atlassian JIRA
(v6.2#6252)