Alexander Shraer created ZOOKEEPER-1539:
-------------------------------------------

             Summary: Tests in QuorumUtil.startAll()
                 Key: ZOOKEEPER-1539
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1539
             Project: ZooKeeper
          Issue Type: Bug
          Components: tests
         Environment: Consider the following test:

@Test
public void newTest() throws Exception {
    QuorumUtil qu = new QuorumUtil(3);
    qu.startAll();
}

Although it doesn't seem like we're checking anything at all here, this test 
actually fails. There is a JMXEnv.ensureAll test invoked from startAll(). It 
passes for 1 or 2 servers but fails for any larger number of servers (for 
example 3 servers here). Besides the fact that there's a bug in the tests, I 
think we should call the function differently if we want to invoke tests in it, 
or alternatively remove these tests or make them optional using some parameter.

            Reporter: Alexander Shraer
            Priority: Minor




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to