-
Notifications
You must be signed in to change notification settings - Fork 37.7k
test: move check_node_connections to util #23392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: move check_node_connections to util #23392
Conversation
994dc1b
to
5ce601c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tACK 5ce601c on Ubuntu 20.04
5ce601c
to
ab9bfc8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK ab9bfc8.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think all commits can be squashed into one to allow for easy --color-moved=dimmed-zebra
.
ab9bfc8
to
4e831f1
Compare
Done. |
4e831f1
to
988024f
Compare
Code review ACK 988024f |
61af443 test: add check_node_connections in util (brunoerg) Pull request description: This function (`check_node_connections`) exists in `feature_anchors.py` and `p2p_add_connections.py` and does the same thing in both, this PR moves this function to util to avoid repetition and facilitate maintenance. ACKs for top commit: laanwj: Code review ACK 61af443 Tree-SHA512: bf86c5659933539c72cb91ad587552b45c918be74d36fb429e78f3b954f01ed0855a85dd49aea35b432fbd18227c05eb3fec8b99c139c3509c39b19bccf6b7fd
Summary: ``` This function (check_node_connections) exists in feature_anchors.py and p2p_add_connections.py and does the same thing in both, this PR moves this function to util to avoid repetition and facilitate maintenance. ``` Backport of [[bitcoin/bitcoin#23392 | core#23392]] and [[bitcoin/bitcoin#23774 | core#23774]] (missing import fix). Depends on D10966. Ref T1696. Test Plan: ninja check-functional Reviewers: #bitcoin_abc, PiRK Reviewed By: #bitcoin_abc, PiRK Maniphest Tasks: T1696 Differential Revision: https://reviews.bitcoinabc.org/D10967
This function (
check_node_connections
) exists infeature_anchors.py
andp2p_add_connections.py
and does the same thing in both, this PR moves this function to util to avoid repetition and facilitate maintenance.