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

integration tests: fix connection timeout in 0-RTT test #4060

Merged
merged 1 commit into from
Sep 2, 2023

Conversation

tanghaowillow
Copy link
Contributor

In 0-RTT datagram test the connection/tracer is not closed before fetching the traced packets, which makes it cannot return until the connection becomes timeout.
FIxes #4058

@codecov
Copy link

codecov bot commented Sep 1, 2023

Codecov Report

Merging #4060 (823a3c6) into master (090e505) will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4060      +/-   ##
==========================================
+ Coverage   83.46%   83.48%   +0.02%     
==========================================
  Files         147      147              
  Lines       14906    14906              
==========================================
+ Hits        12440    12443       +3     
+ Misses       1970     1967       -3     
  Partials      496      496              

see 1 file with indirect coverage changes

@marten-seemann
Copy link
Member

@tanghaowillow Thanks for the fix! Do you have any idea why this worked before #4013?

@tanghaowillow
Copy link
Contributor Author

Because these tests are introduced in #4013.. I should be have been more careful (

Copy link
Member

@marten-seemann marten-seemann left a comment

Choose a reason for hiding this comment

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

Thanks for debugging and fixing this!

@marten-seemann marten-seemann changed the title close the connection before checking packets of the tracer in datagram tests fix connection timeout in 0-RTT integration test Sep 2, 2023
@marten-seemann marten-seemann changed the title fix connection timeout in 0-RTT integration test integration tests: fix connection timeout in 0-RTT test Sep 2, 2023
@marten-seemann marten-seemann merged commit 6cde437 into quic-go:master Sep 2, 2023
18 checks passed
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.

saving the datagram size in the session tickets breaks 0-RTT tests
2 participants