Skip to content
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

Fix "insert peer invariant test" #4480

Merged
merged 1 commit into from
Apr 12, 2023
Merged

Fix "insert peer invariant test" #4480

merged 1 commit into from
Apr 12, 2023

Conversation

bolt12
Copy link
Contributor

@bolt12 bolt12 commented Mar 30, 2023

This test checks that newly added peer is never in the 20% worst performing peers (if there are at least 5 results). However we were not checking that the list had at least 5 results.

Fixes #4092

@bolt12 bolt12 requested a review from coot as a code owner March 30, 2023 10:38
This test checks that newly added peer is never in the 20% worst
performing peers (if there are at least 5 results). However we were not
checking that the least had at least 5 results.
@bolt12
Copy link
Contributor Author

bolt12 commented Apr 6, 2023

bors merge

iohk-bors bot added a commit that referenced this pull request Apr 6, 2023
4480: Fix "insert peer invariant test" r=bolt12 a=bolt12

This test checks that newly added peer is never in the 20% worst performing peers (if there are at least 5 results). However we were not checking that the list had at least 5 results.

Fixes #4092 

Co-authored-by: Armando Santos <armando@well-typed.com>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Apr 6, 2023

Timed out.

@bolt12
Copy link
Contributor Author

bolt12 commented Apr 6, 2023

bors merge

iohk-bors bot added a commit that referenced this pull request Apr 6, 2023
4480: Fix "insert peer invariant test" r=bolt12 a=bolt12

This test checks that newly added peer is never in the 20% worst performing peers (if there are at least 5 results). However we were not checking that the list had at least 5 results.

Fixes #4092 

Co-authored-by: Armando Santos <armando@well-typed.com>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Apr 6, 2023

Timed out.

@bolt12
Copy link
Contributor Author

bolt12 commented Apr 12, 2023

bors merge

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Apr 12, 2023

@iohk-bors iohk-bors bot merged commit eddc225 into master Apr 12, 2023
@iohk-bors iohk-bors bot deleted the bolt12/4092 branch April 12, 2023 09:37
@coot coot added the networking label Jul 6, 2023
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.

PeerSelection.PeerMetric failure
2 participants