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

test(s2n-tls-hyper): Add localhost http tests #4838

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

Conversation

goatgoose
Copy link
Contributor

Resolved issues:

Resolves #4631

Description of changes:

This PR adds a way to test s2n-tls-hyper over localhost by using the hyper server to echo HTTP requests back to the s2n-tls hyper client. A few tests were added which make use of the echo framework.

Call-outs:

Now that s2n-tls-hyper is tested locally, the web_client test was removed to reduce flakiness caused by relying on an external endpoint.

Testing:

All tests.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions github-actions bot added the s2n-core team label Oct 10, 2024
@goatgoose goatgoose force-pushed the hyper-tests branch 2 times, most recently from 82ff38a to 70517b2 Compare October 11, 2024 03:57
@goatgoose goatgoose force-pushed the hyper-tests branch 2 times, most recently from ea21465 to 03554a0 Compare October 11, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove external HTTP request from hyper crate tests
1 participant