zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anmolnar <...@git.apache.org>
Subject [GitHub] zookeeper issue #700: ZOOKEEPER-1441 - JAVA 11 - Some test cases are failing...
Date Wed, 21 Nov 2018 19:22:25 GMT
Github user anmolnar commented on the issue:

    https://github.com/apache/zookeeper/pull/700
  
    @hanm Not exactly.
    The test case is about reconfig the server to a port which is unavailable (blocked). Steps:
    1) Bind the server to "oldClientPort"
    2) Bind "newClientPort" with custom socket
    3) Reconfig the server to bind "newClientPort" - fails
    4) Check if "oldClientPort" has become available
    ...
    Step 4) fails, because of the aforementioned reason: reconfig fails to bind the port,
throws exception, but exception handler doesn't close the selector, only the socket.
    I do things in swapped order: close the thread and socket first, then try to bind the
new port.


---

Mime
View raw message