test: remove redundant setup in addrman_tests
This commit is contained in:
parent
459baa1756
commit
5c3c24cf9e
1 changed files with 0 additions and 9 deletions
|
@ -533,9 +533,6 @@ BOOST_AUTO_TEST_CASE(addrman_selecttriedcollision)
|
||||||
{
|
{
|
||||||
CAddrManTest addrman;
|
CAddrManTest addrman;
|
||||||
|
|
||||||
// Set addrman addr placement to be deterministic.
|
|
||||||
addrman.MakeDeterministic();
|
|
||||||
|
|
||||||
BOOST_CHECK(addrman.size() == 0);
|
BOOST_CHECK(addrman.size() == 0);
|
||||||
|
|
||||||
// Empty addrman should return blank addrman info.
|
// Empty addrman should return blank addrman info.
|
||||||
|
@ -568,9 +565,6 @@ BOOST_AUTO_TEST_CASE(addrman_noevict)
|
||||||
{
|
{
|
||||||
CAddrManTest addrman;
|
CAddrManTest addrman;
|
||||||
|
|
||||||
// Set addrman addr placement to be deterministic.
|
|
||||||
addrman.MakeDeterministic();
|
|
||||||
|
|
||||||
// Add twenty two addresses.
|
// Add twenty two addresses.
|
||||||
CNetAddr source = ResolveIP("252.2.2.2");
|
CNetAddr source = ResolveIP("252.2.2.2");
|
||||||
for (unsigned int i = 1; i < 23; i++) {
|
for (unsigned int i = 1; i < 23; i++) {
|
||||||
|
@ -627,9 +621,6 @@ BOOST_AUTO_TEST_CASE(addrman_evictionworks)
|
||||||
{
|
{
|
||||||
CAddrManTest addrman;
|
CAddrManTest addrman;
|
||||||
|
|
||||||
// Set addrman addr placement to be deterministic.
|
|
||||||
addrman.MakeDeterministic();
|
|
||||||
|
|
||||||
BOOST_CHECK(addrman.size() == 0);
|
BOOST_CHECK(addrman.size() == 0);
|
||||||
|
|
||||||
// Empty addrman should return blank addrman info.
|
// Empty addrman should return blank addrman info.
|
||||||
|
|
Loading…
Reference in a new issue