Skip to content

Commit c7b7cf2

Browse files
author
MarcoFalke
committed
Merge #16422: test: remove redundant setup in addrman_tests
5c3c24c test: remove redundant setup in addrman_tests (zenosage) Pull request description: #10765 make this default behavior. No reason to keep these line. Top commit has no ACKs. Tree-SHA512: 545eea9c2d0741a75708f288f2c8752534ecaa6d54a9d014ef9afa295b0d075007704b64809eec090023703f47753e8ec755d22c9ccecf57b75f6898f6b708dd
2 parents 59ce537 + 5c3c24c commit c7b7cf2

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)