Skip to content

Commit 5c3c24c

Browse files
committed
test: remove redundant setup in addrman_tests
1 parent 459baa1 commit 5c3c24c

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/test/addrman_tests.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -533,9 +533,6 @@ BOOST_AUTO_TEST_CASE(addrman_selecttriedcollision)
533533
{
534534
CAddrManTest addrman;
535535

536-
// Set addrman addr placement to be deterministic.
537-
addrman.MakeDeterministic();
538-
539536
BOOST_CHECK(addrman.size() == 0);
540537

541538
// Empty addrman should return blank addrman info.
@@ -568,9 +565,6 @@ BOOST_AUTO_TEST_CASE(addrman_noevict)
568565
{
569566
CAddrManTest addrman;
570567

571-
// Set addrman addr placement to be deterministic.
572-
addrman.MakeDeterministic();
573-
574568
// Add twenty two addresses.
575569
CNetAddr source = ResolveIP("252.2.2.2");
576570
for (unsigned int i = 1; i < 23; i++) {
@@ -627,9 +621,6 @@ BOOST_AUTO_TEST_CASE(addrman_evictionworks)
627621
{
628622
CAddrManTest addrman;
629623

630-
// Set addrman addr placement to be deterministic.
631-
addrman.MakeDeterministic();
632-
633624
BOOST_CHECK(addrman.size() == 0);
634625

635626
// Empty addrman should return blank addrman info.

0 commit comments

Comments
 (0)