[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13861440#comment-13861440
 ] 

Hudson commented on ZOOKEEPER-1852:
-----------------------------------

SUCCESS: Integrated in ZooKeeper-trunk #2174 (See 
[https://builds.apache.org/job/ZooKeeper-trunk/2174/])
ZOOKEEPER-1852. ServerCnxnFactory instance is not properly cleanedup (Rakesh R 
via fpj) (fpj: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1554981)
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/ClientBase.java
ZOOKEEPER-1852. ServerCnxnFactory instance is not properly cleanedup (Rakesh R 
via fpj) (fpj: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1554980)
* /zookeeper/trunk/CHANGES.txt
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/ClientBase.java
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/TruncateTest.java


> ServerCnxnFactory instance is not properly cleanedup
> ----------------------------------------------------
>
>                 Key: ZOOKEEPER-1852
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1852
>             Project: ZooKeeper
>          Issue Type: Sub-task
>          Components: tests
>            Reporter: Rakesh R
>            Assignee: Rakesh R
>             Fix For: 3.4.6, 3.5.0
>
>         Attachments: ZOOKEEPER-1852-br-3.4.patch, 
> ZOOKEEPER-1852-br-3.4.patch, ZOOKEEPER-1852-br-3.4.patch, 
> ZOOKEEPER-1852.patch, ZOOKEEPER-1852.patch, ZOOKEEPER-1852.patch
>
>
> ClientBase#createNewServerInstance() - Say the startup of the server fails, 
> this will not initialize 'serverFactory' and will be null. When the flow 
> comes to teardown/shutdown, it will bypass stopping of this server instance 
> due to the following check. This will affect other test case verifications 
> like, jmx check 'JMXEnv#ensureOnly'.  
> ClientBase#shutdownServerInstance
> {code}
>     static void shutdownServerInstance(ServerCnxnFactory factory,
>             String hostPort)
>     {
>         if (factory != null) {
>            //...shutdown logic
>         }
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to