Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(app/integration): forward-compatible test code
see linkerd/linkerd2#8733 for more information. see #3559 and #3614 for more information on the `ForwardCompatibleBody<B>` wrapper. `telemetry::log_stream::collect_logs` is a function responsible for digesting a streaming body, and deserializing each chunk into a `serde_json::Value`, until either (a) a shutdown signal is received, or (b) the end of the body is reached. this commit updates test code in `linkerd-app-integration` so that it interacts with request and response bodies via an adapter that polls for frames in a manner consistent with the 1.0 api of `http_body`. this allows us to limit the diff in #3504, which will only need to remove this adapter once using hyper 1.0. * linkerd/linkerd2#8733 * #3671 * #3672 * #3673 * #3676 Signed-off-by: katelyn martin <[email protected]>
- Loading branch information