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 test, add test #3185

Merged
merged 2 commits into from
Feb 14, 2025
Merged

Conversation

flub
Copy link
Contributor

@flub flub commented Feb 14, 2025

Fix the test by not using a fixed port: that's asking for flakyness.

Add test ensuring that the connection still succeeds even after that
1s deadline exceeds.

@flub flub requested a review from matheus23 February 14, 2025 13:32
Copy link

github-actions bot commented Feb 14, 2025

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh/pr/3185/docs/iroh/

Last updated: 2025-02-14T13:35:33Z

Copy link

Netsim report & logs for this PR have been generated and is available at: LOGS
This report will remain available for 3 days.

Last updated for commit: 88313c5

Copy link
Member

@matheus23 matheus23 left a comment

Choose a reason for hiding this comment

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

Interesting!
So essentially quic_endpoint_closes_fast behaves the same as before, but only because we don't make use of ICMP packets.

And quic_endpoint_unresponsive makes sure that we do have the eventually connecting behavior we're looking for, even if the connection takes more than 1s.

Sweet, I like it. I think I'll change the test names a bit, but other than that 👍

@matheus23 matheus23 merged commit e8d1b62 into matheus23/qad-rtt-estimate Feb 14, 2025
23 of 25 checks passed
@matheus23 matheus23 deleted the flub/qad-rtt-estimate-tests branch February 14, 2025 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants