diff options
author | Ava Chow <github@achow101.com> | 2024-02-08 17:50:20 -0500 |
---|---|---|
committer | Ava Chow <github@achow101.com> | 2024-02-08 17:57:03 -0500 |
commit | 5cdf31343b8a8a675627f62cac91c08a7216f71a (patch) | |
tree | f08aa725bdfb7215398690a26029e06756510a8f /doc/translation_process.md | |
parent | 2bd0bf7cd963737aaab5815e81230f92151662d1 (diff) | |
parent | cc87ee4c3934028e78a59de509951ff7226ec80d (diff) | |
download | bitcoin-5cdf31343b8a8a675627f62cac91c08a7216f71a.tar.xz |
Merge bitcoin/bitcoin#29372: test: fix intermittent failure in `rpc_setban.py --v2transport`, run it in CI
cc87ee4c3934028e78a59de509951ff7226ec80d test: fix intermittent failure in rpc_setban.py --v2transport (Martin Zumsande)
Pull request description:
This test failed for me on master locally:
The reason is that when initiating a v2 connection and being immediately disconnected, a node cannot know if the disconnect happens because the peer only supports v1, or because it has banned you, so it schedules to reconnect with v1. If the test doesn't wait for that, the reconnect can happen at a bad time, resulting in failure in a later `connect_nodes` call.
Also add the test with `--v2transport` to the test runner because banning with v2 seems like a useful thing to have test coverage for.
ACKs for top commit:
delta1:
tested ACK cc87ee4c3934028e78a59de509951ff7226ec80d
epiccurious:
Concept ACK cc87ee4c3934028e78a59de509951ff7226ec80d.
achow101:
ACK cc87ee4c3934028e78a59de509951ff7226ec80d
stratospher:
tested ACK cc87ee4. nice find!
Tree-SHA512: ae234d9b771d9c9c11501ddd93c99cf93257c999de3da62280d4d51806cd246b289c10a5f41fa7d5651b2fb4fdaee753f5b2d6939a99f89d71aa012af4a4d231
Diffstat (limited to 'doc/translation_process.md')
0 files changed, 0 insertions, 0 deletions