Skip to content

peer: Correct listener tests pver change.#3628

Merged
davecgh merged 1 commit intodecred:masterfrom
davecgh:peer_correct_listener_tests
Mar 3, 2026
Merged

peer: Correct listener tests pver change.#3628
davecgh merged 1 commit intodecred:masterfrom
davecgh:peer_correct_listener_tests

Conversation

@davecgh
Copy link
Copy Markdown
Member

@davecgh davecgh commented Feb 27, 2026

The code that introduced version 2 address messages added a protocol version to the listener tests since version 1 address messages are no longer valid under the latest protocol version.

Unfortunately, it was not done correctly which leads to intermittent test failures.

This updates the logic to use the appropriate locks and ensure the async reader is actually reading with the expected changed protocol version accordingly.

@davecgh davecgh added this to the 2.2.0 milestone Feb 27, 2026
@davecgh davecgh force-pushed the peer_correct_listener_tests branch from 62628f4 to a485b75 Compare February 27, 2026 19:54
The code that introduced version 2 address messages added a protocol
version to the listener tests since version 1 address messages are no
longer valid under the latest protocol version.

Unfortunately, it was not done correctly which leads to intermittent
test failures.

This updates the logic to use the appropriate locks and ensure the async
reader is actually reading with the expected changed protocol version
accordingly.
@davecgh davecgh force-pushed the peer_correct_listener_tests branch from a485b75 to 839f836 Compare March 3, 2026 16:06
@davecgh davecgh merged commit 839f836 into decred:master Mar 3, 2026
33 checks passed
@davecgh davecgh deleted the peer_correct_listener_tests branch March 3, 2026 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants