Alexander Shraer created ZOOKEEPER-1662:
-------------------------------------------

             Summary: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to