Skip to content

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

Merged
goatgoose merged 10 commits into
aws:mainfrom
goatgoose:hyper-tests
Nov 18, 2024
Merged

goatgoose merged 10 commits into
aws:mainfrom
goatgoose:hyper-tests

Conversation

@goatgoose

Copy link
Copy Markdown
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.

@goatgoose
goatgoose marked this pull request as ready for review October 22, 2024 21:20
@goatgoose
goatgoose requested a review from camshaft October 25, 2024 15:35
@goatgoose
goatgoose enabled auto-merge (squash) November 7, 2024 01:45
@goatgoose
goatgoose merged commit 45efb09 into aws:main Nov 18, 2024
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

3 participants