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

Log QUIC_TLS_SECRETS on all TestConnections and write to disk on cleanup #4349

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

anrossi
Copy link
Contributor

@anrossi anrossi commented Jun 14, 2024

Description

Logs QUIC_TLS_SECRETs on all TestConnections. If a filepath is provided, then it will write the QUIC_TLS_SECRETS in an sslkeylogfile format to the provided file path when the TestConnection is destructed.

Testing

CI

Documentation

N/A

@anrossi anrossi added the Area: Testing Related to test coverage label Jun 14, 2024
@anrossi anrossi requested a review from a team as a code owner June 14, 2024 02:59
Copy link

codecov bot commented Jun 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.14%. Comparing base (f5bec53) to head (343a1e9).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4349      +/-   ##
==========================================
- Coverage   85.36%   85.14%   -0.23%     
==========================================
  Files          56       56              
  Lines       15426    15426              
==========================================
- Hits        13169    13134      -35     
- Misses       2257     2292      +35     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -17,6 +17,8 @@ enum NEW_STREAM_START_TYPE {
NEW_STREAM_START_ASYNC // Start asynchronously
};

#define DEFAULT_SSLKEYLOGFILE_PATH "sslkeylogfile.txt"
Copy link
Contributor

Choose a reason for hiding this comment

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

PATH? not FILENAME?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't know what word to use to describe that it's both path and filename without writing that out and making the name longer

@anrossi anrossi force-pushed the anrossi/test-log-tls-secrets branch from 68f814f to 343a1e9 Compare June 18, 2024 06:54
@anrossi
Copy link
Contributor Author

anrossi commented Jun 18, 2024

DO NOT COMPLETE THIS PR. Trying out using a different SetParam in the client TestConnection constructor to see if it's a SetParam issue, or a TLS_SECRETS issue.

@anrossi anrossi marked this pull request as draft June 18, 2024 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Testing Related to test coverage
2 participants