|
|
|
@ -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.
|
|
|
|
|