Page MenuHomePhabricator

Merge #10765: Tests: address placement should be deterministic by default
ClosedPublic

Authored by jasonbcox on Jun 21 2019, 00:23.

Details

Summary

c5ebddd11 Tests: address placement should be deterministic by default (René Nyffenegger)

Pull request description:

Better version of wrong and closed pull request https://github.com/bitcoin/bitcoin/pull/10764

Tree-SHA512: dfda6ea4a9dd0f4c8b96212ad43a716ff1dddf115cd2712a2a7e42c97fc9494079c746906b39d880a9827c05d2b75c728afd4ca4519ce4d365f0dae0c4aec24c

Backport of Core PR10765

https://github.com/bitcoin/bitcoin/pull/10765/files

Test Plan

make check

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markblundeberg added a subscriber: markblundeberg.
markblundeberg added inline comments.
src/test/addrman_tests.cpp
524 ↗(On Diff #9557)

what about this one?

557 ↗(On Diff #9557)

and this one?

615 ↗(On Diff #9557)

and this one?

This revision now requires changes to proceed.Jun 21 2019, 13:59
src/test/addrman_tests.cpp
524 ↗(On Diff #9557)

Interesting, despite these tests being backported out of order, these superfluous lines are still present in Core. I will clean them up them regardless.

Rebase + remove related lines in other tests

Ah! Sorry for holding this up, I forgot about it and didn't realize it was waiting on me.

This revision is now accepted and ready to land.Jun 28 2019, 01:41

https://reviews.bitcoinabc.org/D3375#80618

This takes care of PR16422 in addition of PR10765. I just now tried to cherry-pick the commit, and got an empty commit.