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

refactor(http/retry): port some ReplayBody tests to Frame<T> #3564

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

Conversation

cratelyn
Copy link
Collaborator

see linkerd/linkerd2#8733.

#3559 introduced some compatibility facilities to allow us to write code in terms of http_body_util::BodyExt::frame(), front-running the upgrade to be performed in #3504.

some ReplayBody tests use the defunct data() and trailers() interfaces. this branch ports two such unit tests. other tests are saved for a fast follow-on, as the chunk(..) and read_to_string(..) helpers will need some slightly more involved tweaks.

see linkerd/linkerd2#8733.

this commit upgrades a test that uses defunct `data()` and `trailers()`
futures.

Signed-off-by: katelyn martin <[email protected]>
see linkerd/linkerd2#8733.

this commit upgrades a test that uses defunct `data()` and `trailers()`
futures.

Signed-off-by: katelyn martin <[email protected]>
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.

1 participant