-
Notifications
You must be signed in to change notification settings - Fork 38.7k
[0.21] test: Backports #21614
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
[0.21] test: Backports #21614
Conversation
|
Should/can this include a backport for #21489? |
|
Good idea. Done |
src/test/fuzz/versionbits.cpp
Outdated
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.
This } // namespace line needs to be removed for the backport.
(EDIT: the patch that's being backported moved it lower from earlier in the file, but the previous pr that was backported has moved that same line earlier in the file. git just sees the original line being deleted in both patches, and considers it redundant and fine to omit, rather than marking it as a conflict)
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.
Correct. Fixed.
7ed4ddb to
4546ac5
Compare
|
ACK 4546ac5af1c4105a0cf78a407fefcb189822bcf5 I verified that the corresponding commits are same in |
|
Moved milestone due to lack of interest |
|
ACK 4546ac5af1c4105a0cf78a407fefcb189822bcf5 Verified cherrypick/rebase. |
This is a non-functional change that replaces the `CNode` on-stack variables with `CNode` pointers. The reason for this is that it would allow us to add those `CNode`s to `CConnman::vNodes[]` which in turn would allow us to check that they are disconnected properly - a `CNode` object must be in `CConnman::vNodes[]` in order for its `fDisconnect` flag to be set. If we store pointers to the on-stack variables in `CConnman` then it would crash at the end, trying to `delete` them. Github-Pull: bitcoin#21571 Rebased-From: 4d6e246
Use `CConnmanTest` instead of `CConnman` and add the nodes to it so that their `fDisconnect` flag is set during disconnection. Github-Pull: bitcoin#21571 Rebased-From: 637bb6d
Github-Pull: bitcoin#21571 Rebased-From: 81747b2
Github-Pull: bitcoin#21489 Rebased-From: aa7f418
4546ac5 to
b8af67e
Compare
|
Rebased |
|
ACK b8af67e Verified rebase. |
|
ACK b8af67e ; visually compared individual commits to originals, checked original commits are in master |
vasild
left a comment
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.
Backport tests