-
Notifications
You must be signed in to change notification settings - Fork 271
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(app/test): address hyper deprecations in test helpers #3433
Merged
cratelyn
merged 10 commits into
main
from
kate/hyper-1.x-app-inbound-test-updates.part-2
Dec 9, 2024
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
9796b40
refactor(app/inbound): remove unused `Http` parameter
cratelyn 717b678
chore(app/inbound): address `server::conn::Http` deprecations
cratelyn 472163e
refactor(app/test): reorder and document test helpers
cratelyn d74f9be
refactor(app/test): briefly defer `spawn()`ing tasks
cratelyn a578a7d
refactor(app/test): use `JoinSet` for background tasks
cratelyn ca0a21a
refactor(app/test): tweak proxy process
cratelyn d5052e9
refactor(app/test): hoist `instrument(..)` calls
cratelyn a7951e1
refactor(app/test): remove `run_proxy(..)`
cratelyn 15d1b09
refactor(app/test): remove `connect_client(..)`
cratelyn ae3cca2
refactor(app/test): consolidate anonymous futures
cratelyn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want, you can use core::Result so this is just
.collect::<Result<Vec<()>>>()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i took a swing at this, but i think i'll opt to elide this.
i have a personal aversion to importing
Result
aliases that overwrite theResult<T, E>
included in the standard prelude, and found that the alternate.collect::<linkerd_app_core::Result<Vec<()>>>()
form didn't really golf this down much.