-
Notifications
You must be signed in to change notification settings - Fork 89
Peer selection bugfix and testing updates #5209
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
Open
crocodile-dentist
wants to merge
6
commits into
main
Choose a base branch
from
mw/test-false-positive
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ed681ae
to
f9f39da
Compare
coot
reviewed
Oct 6, 2025
ouroboros-network/testlib/Test/Ouroboros/Network/Diffusion/Testnet/Cardano.hs
Outdated
Show resolved
Hide resolved
ouroboros-network/testlib/Test/Ouroboros/Network/Diffusion/Testnet/Cardano.hs
Show resolved
Hide resolved
ouroboros-network/changelog.d/20251004_134906_crocodile-dentist_test_false_positive.md
Outdated
Show resolved
Hide resolved
ouroboros-network/testlib/Test/Ouroboros/Network/Diffusion/Testnet/Cardano.hs
Show resolved
Hide resolved
e1182cb
to
9a170bd
Compare
Changes address the issue of peer selection not taking the opportunity to demote peers, or demoting too many under specific conditions.
9a170bd
to
7636304
Compare
7636304
to
3ad6525
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
A bug in established & active above targets caused missed opportunities to demote a peer.
testnet bugfix: prop_diffusion_target_active_below: A missed promotion opportunity is signalled causing
IOSim.target active below
test to fail while the peer is being synchronously demoted from warm state and hence is not a viable opportunity.Reworked approach to peer selection tests.
resolves #5206
Checklist
Quality
Maintenance
ouroboros-network
project.