Github user asdf2014 commented on the issue:

    https://github.com/apache/zookeeper/pull/257
  
    Finally, it works :smile:
    ```bash
         [exec]     [junit] 2017-05-18 09:29:00,770 [myid:] - INFO  
[main:ZKTestCase$1@58] - STARTING testSameSID
         [exec]     [junit] 2017-05-18 09:29:00,770 [myid:] - INFO  
[main:PortAssignment@85] - Assigned port 24753 from range 24686 - 27378.
         [exec]     [junit] 2017-05-18 09:29:00,770 [myid:] - INFO  
[main:PortAssignment@85] - Assigned port 24754 from range 24686 - 27378.
         [exec]     [junit] 2017-05-18 09:29:00,771 [myid:] - INFO  
[main:PortAssignment@85] - Assigned port 24755 from range 24686 - 27378.
         [exec]     [junit] 2017-05-18 09:29:00,771 [myid:] - INFO  
[main:PortAssignment@85] - Assigned port 24756 from range 24686 - 27378.
         [exec]     [junit] 2017-05-18 09:29:00,771 [myid:] - INFO  
[main:PortAssignment@85] - Assigned port 24757 from range 24686 - 27378.
         [exec]     [junit] 2017-05-18 09:29:00,772 [myid:] - INFO  
[main:PortAssignment@85] - Assigned port 24758 from range 24686 - 27378.
         [exec]     [junit] 2017-05-18 09:29:00,772 [myid:] - INFO  
[main:PortAssignment@85] - Assigned port 24759 from range 24686 - 27378.
         [exec]     [junit] 2017-05-18 09:29:00,772 [myid:] - INFO  
[main:PortAssignment@85] - Assigned port 24760 from range 24686 - 27378.
         [exec]     [junit] 2017-05-18 09:29:00,773 [myid:] - INFO  
[main:PortAssignment@85] - Assigned port 24761 from range 24686 - 27378.
         [exec]     [junit] 2017-05-18 09:29:00,773 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@77] - RUNNING TEST METHOD 
testSameSID
         [exec]     [junit] 2017-05-18 09:29:00,773 [myid:] - INFO  
[main:ServerCnxnFactory@134] - Using 
org.apache.zookeeper.server.NIOServerCnxnFactory as server connection factory
         [exec]     [junit] 2017-05-18 09:29:00,773 [myid:] - INFO  
[main:NIOServerCnxnFactory@673] - Configuring NIO connection handler with 10s 
sessionless connection timeout, 3 selector thread(s), 48 worker threads, and 64 
kB direct buffers.
         [exec]     [junit] 2017-05-18 09:29:00,774 [myid:] - INFO  
[main:NIOServerCnxnFactory@686] - binding to port /127.0.0.1:24760
         [exec]     [junit] 2017-05-18 09:29:00,775 [myid:] - INFO  
[main:CnxManagerTest@392] - Creating socket connection, host: 127.0.0.1, port: 
24761
         [exec]     [junit] 2017-05-18 09:29:00,775 [myid:] - INFO  
[QuorumPeerListener:QuorumCnxManager$Listener@636] - My election bind port: 
/127.0.0.1:24761
         [exec]     [junit] 2017-05-18 09:29:00,775 [myid:] - INFO  
[/127.0.0.1:24761:QuorumCnxManager$Listener@642] - Received connection request 
/127.0.0.1:54430
         [exec]     [junit] 2017-05-18 09:29:00,775 [myid:] - WARN  
[main:QuorumCnxManager@342] - Exception reading or writing challenge: 
java.io.EOFException
         [exec]     [junit] 2017-05-18 09:29:00,776 [myid:] - ERROR 
[/127.0.0.1:24761:QuorumCnxManager$Listener@664] - Appearing duplicate SID: 2
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to