diff options
author | zenosage <zenosage@protonmail.com> | 2019-07-18 17:31:25 -0700 |
---|---|---|
committer | zenosage <zenosage@protonmail.com> | 2019-07-18 17:31:46 -0700 |
commit | 5c3c24cf9eab7bf19a9201599e93955cace5c154 (patch) | |
tree | 747940a68cd71d1568c2887642230233a0cda49d /src/test | |
parent | 459baa1756b7f2d10d261daa0d0f5f4b91cef21f (diff) |
test: remove redundant setup in addrman_tests
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/addrman_tests.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/addrman_tests.cpp b/src/test/addrman_tests.cpp index eeb54b4cf0..da0abd495a 100644 --- a/src/test/addrman_tests.cpp +++ b/src/test/addrman_tests.cpp @@ -533,9 +533,6 @@ BOOST_AUTO_TEST_CASE(addrman_selecttriedcollision) { CAddrManTest addrman; - // Set addrman addr placement to be deterministic. - addrman.MakeDeterministic(); - BOOST_CHECK(addrman.size() == 0); // Empty addrman should return blank addrman info. @@ -568,9 +565,6 @@ BOOST_AUTO_TEST_CASE(addrman_noevict) { CAddrManTest addrman; - // Set addrman addr placement to be deterministic. - addrman.MakeDeterministic(); - // Add twenty two addresses. CNetAddr source = ResolveIP("252.2.2.2"); for (unsigned int i = 1; i < 23; i++) { @@ -627,9 +621,6 @@ BOOST_AUTO_TEST_CASE(addrman_evictionworks) { CAddrManTest addrman; - // Set addrman addr placement to be deterministic. - addrman.MakeDeterministic(); - BOOST_CHECK(addrman.size() == 0); // Empty addrman should return blank addrman info. |