From 4dad591ace9911277edca044674c9e8e956a0ef4 Mon Sep 17 00:00:00 2001 From: Cory Nelson Date: Mon, 24 Jun 2019 17:43:41 -0700 Subject: [PATCH] Resolve an exception affecting innerloop CI when Socket.Shutdown() fails during Http2LoopbackConnection.ShutdownIgnoringErrorsAsync() Commit migrated from https://github.com/dotnet/corefx/commit/e514b0fba5693da417c79f87b10211184472a970 --- src/libraries/Common/tests/System/Net/Http/Http2LoopbackConnection.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libraries/Common/tests/System/Net/Http/Http2LoopbackConnection.cs b/src/libraries/Common/tests/System/Net/Http/Http2LoopbackConnection.cs index 4d006cc..2d22351 100644 --- a/src/libraries/Common/tests/System/Net/Http/Http2LoopbackConnection.cs +++ b/src/libraries/Common/tests/System/Net/Http/Http2LoopbackConnection.cs @@ -248,6 +248,10 @@ namespace System.Net.Test.Common { // Ignore connection errors } + catch (SocketException) + { + // Ignore connection errors + } } public async Task ReadRequestHeaderAsync() -- 2.7.4