-
Notifications
You must be signed in to change notification settings - Fork 38.7k
test: merge banning test from p2p_disconnect_ban to rpc_setban #26863
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
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code CoverageFor detailed information about the code coverage, see the test coverage report. ReviewsSee the guideline for information on the review process. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
cc: @andrewtoth (#26822 (review)) |
85ddb92 to
c2661db
Compare
c2661db to
c248b79
Compare
c248b79 to
aba0427
Compare
aba0427 to
1ff6ed2
Compare
1ff6ed2 to
c7397de
Compare
c7397de to
b093dd7
Compare
|
Rebased |
b093dd7 to
ab8be68
Compare
|
Rebased |
35b9e59 to
8bdfbcf
Compare
Sometimes both ones are testing same stuff related to banning, it makes sense to merge them to avoid repetition.
8bdfbcf to
682ba54
Compare
|
Rebased |
|
Since there doesn't seem to be very much review interest... is there any benefit in moving these tests to a different file? |
Currently, there are stuff that are being test in both |
|
🐙 This pull request conflicts with the target branch and needs rebase. |
|
I'll close for now and work in a simpler alternative. |
There are tests related to banning in both
p2p_disconnect_banandrpc_setban, some of them are testing same scenarios. So, this PR moves all banning test stuff torpc_setbanand leavesp2p_disconnect_banonly for disconnecting stuff. Sincep2p_disconnect_bandoesn't have any banning stuff, this PR also renames that top2p_disconnect.