We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 923ccac commit 6a8f216Copy full SHA for 6a8f216
src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs
@@ -2233,13 +2233,7 @@ await LoopbackServerFactory.CreateClientAndServerAsync(async uri =>
2233
{
2234
if (await acceptConnection.Task)
2235
2236
- await IgnoreExceptions(async () =>
2237
- {
2238
- await server.AcceptConnectionAsync(async _ =>
2239
2240
- await clientFinished.WaitAsync(TestHelper.PassingTestTimeout);
2241
- });
2242
+ await IgnoreExceptions(() => server.AcceptConnectionAsync(_ => clientFinished.WaitAsync(TestHelper.PassingTestTimeout)));
2243
}
2244
});
2245
0 commit comments