zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andor Molnar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ZOOKEEPER-3065) Refactor existing reconfig tests in StaticHostProviderTest
Date Mon, 18 Jun 2018 12:53:00 GMT
Andor Molnar created ZOOKEEPER-3065:

             Summary: Refactor existing reconfig tests in StaticHostProviderTest
                 Key: ZOOKEEPER-3065
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3065
             Project: ZooKeeper
          Issue Type: Test
          Components: tests
    Affects Versions: 3.6.0
            Reporter: Andor Molnar
            Assignee: Andor Molnar
             Fix For: 3.6.0

The following issues would be nice to address:
 * Tests over addresses with IP addresses only, a few of them test unresolved hostnames, but
ideal would be to create Test parameters and run all tests for both cases,
 * Test methods should be split into multiple to cover one test case / test method,
 * Style: instead of assertTrue(a < b), we should use assertThat(b, greaterThan(a))
 * Extract redundant code snippets into methods

This message was sent by Atlassian JIRA

View raw message