You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Andor Molnar (JIRA)" <ji...@apache.org> on 2018/06/18 12:53:00 UTC
[jira] [Created] (ZOOKEEPER-3065) Refactor existing reconfig tests
in StaticHostProviderTest
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
(v7.6.3#76005)