-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Consistent ConfigureAwait on Loopback, RemoteExecutor.DisposeAsync #102699
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
Merged
Merged
Changes from 30 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
b35b727
Add ConfigureAwait(false) to various place
liveans adb4656
Revert "Disable parallel test execution for QUIC and HTTP/3 (#101569)"
liveans e9cab4d
Disable another AltSvc test
liveans 2558f17
Disable AltSvc for H/3
liveans 10eeef1
Add ConfigureAwait to Loopback
liveans cc2401b
Put unwanted change back
liveans e025609
Revert "Put unwanted change back"
liveans b335fab
Delete ConfigureAwait from test code
liveans ba37b90
Increase Idle Timeout for Http3LoopbackServer
liveans f2c4731
Convert RemoteExecutor Disposal to async
liveans 8ce9194
Add using
liveans 9c10f97
Delete custom IdleTimeout
liveans 1d8afca
Delete Async Disposal of RemoteExecutor
liveans d5b78b0
Add RemoteExecutor.DisposeAsync and use it on System.Net.Mail
liveans febf3dd
Add RemoteExecutor.DisposeAsync and use it on System.Net.
liveans e1117e2
Add RemoteExecutor.DisposeAsync and use it on System.Net.Primitives
liveans 229304e
Add RemoteExecutor.DisposeAsync and use it on System.Net.Quic
liveans d6fba45
Add RemoteExecutor.DisposeAsync and use it on System.Net.Requests
liveans e52bce6
Add RemoteExecutor.DisposeAsync and use it on System.Net.Security
liveans 8759f94
Add RemoteExecutor.DisposeAsync and use it on System.Net.Sockets
liveans 99cd44e
Add RemoteExecutor.DisposeAsync and use it on Common System.Net
liveans e3dbb51
Add RemoteExecutor.DisposeAsync and use it on System.Net.Http - 2
liveans 9c7184c
Add RemoteExecutor.DisposeAsync and use it on System.Net.Ping
liveans 0e2c152
Add RemoteExecutor.DisposeAsync and use it on System.Net.Requests - 2
liveans 13045c9
Add RemoteExecutor.DisposeAsync and use it on System.Net.Security - 2
liveans 5c5bb53
Add RemoteExecutor.DisposeAsync and use it on System.Net.Sockets - 2
liveans 3ede1e0
Add RemoteExecutor.DisposeAsync and use it on Common System.Net - 2
liveans 6bd462f
Merge branch 'main' into attempt_to_fix_an_http3_test
liveans dbd5b01
Review Feedback
liveans 896f0f1
Change DisposeAsync return value signature to ValueTask from Task
liveans 6c01d86
Reapply "Disable parallel test execution for QUIC and HTTP/3 (#101569)"
liveans 4574aa9
Put ActiveIssue's back
liveans fcb6d45
Delete ActiveIssue to make disable it in other pr with other changes
liveans e19b233
Add SkipTest back
liveans 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 hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
15 changes: 15 additions & 0 deletions
15
src/libraries/Common/tests/System/Net/RemoteExecutorExtensions.cs
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
|
||
using System.Threading.Tasks; | ||
using Microsoft.DotNet.RemoteExecutor; | ||
|
||
namespace Microsoft.DotNet.RemoteExecutor; | ||
|
||
internal static class RemoteExecutorExtensions | ||
{ | ||
public static async ValueTask DisposeAsync(this RemoteInvokeHandle handle) | ||
{ | ||
await Task.Run(handle.Dispose); | ||
} | ||
} |
This file contains hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.