Github user Randgalt commented on a diff in the pull request:

    https://github.com/apache/curator/pull/205#discussion_r127618052
  
    --- Diff: 
curator-framework/src/test/java/org/apache/curator/framework/imps/TestReconfiguration.java
 ---
    @@ -313,6 +313,38 @@ public void testNewMembers() throws Exception
             }
         }
     
    +    @Test
    +    public void testConfigToConnectionStringNormal() throws Exception
    +    {
    +        String config = 
"server.1=10.1.2.3:2888:3888:participant;10.2.3.4:2181";
    +        String configString = 
EnsembleTracker.configToConnectionString(toQuorumVerifier(config.getBytes()));
    +        Assert.assertEquals("10.2.3.4:2181", configString);
    +    }
    +
    +    @Test
    +    public void testConfigToConnectionStringNoClientAddr() throws Exception
    +    {
    +        String config = "server.1=10.1.2.3:2888:3888:participant;2181";
    +        String configString = 
EnsembleTracker.configToConnectionString(toQuorumVerifier(config.getBytes()));
    +        Assert.assertEquals("10.1.2.3:2181", configString);
    +    }
    +
    +    @Test
    +    public void testConfigToConnectionStringWildcardClientAddr() throws 
Exception
    +    {
    +        String config = 
"server.1=10.1.2.3:2888:3888:participant;0.0.0.0:2181";
    --- End diff --
    
    @Vile2539 CURATOR-3.0 branch has been discontinued. "master" is now what 
used to be CURATOR-3.0


---
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