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(DHT): NET-1325 remove ScaleDownDht.test.ts, fix WS server graceful leave bug #2716

Merged
merged 2 commits into from
Aug 19, 2024

Conversation

juslesan
Copy link
Contributor

@juslesan juslesan commented Aug 13, 2024

Summary

Removed ScaleDownDht integration test. Added new test case for ensuring proper graceful leaving behaviour in integration/ConnectionManager.test.ts.

Fixed a bug related to WS server nodes killing their connections before sending out graceful leave notices.

Future improvements

Should test graceful leave procedures for all connection types?

Copy link

linear bot commented Aug 13, 2024

@github-actions github-actions bot added the dht Related to DHT package label Aug 13, 2024
@juslesan juslesan requested a review from ptesavol August 14, 2024 10:12
Copy link
Collaborator

@ptesavol ptesavol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@juslesan juslesan merged commit bdf2661 into main Aug 19, 2024
24 checks passed
@juslesan juslesan deleted the NET-1325 branch August 19, 2024 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dht Related to DHT package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants