From: Stephen Toub Date: Tue, 11 Jun 2019 03:22:05 +0000 (-0700) Subject: Add debug state machine tracking to GoAwayFrame_NoPendingStreams_ConnectionClosed... X-Git-Tag: submit/tizen/20210909.063632~11031^2~1335 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5636b5e7036207de25860bdccffef02ba1a88d48;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Add debug state machine tracking to GoAwayFrame_NoPendingStreams_ConnectionClosed test (dotnet/corefx#38438) Commit migrated from https://github.com/dotnet/corefx/commit/0b0df51dab6f641e2988846dd6913de2db30789c --- diff --git a/src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Http2.cs b/src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Http2.cs index 74176f3..811ba1a 100644 --- a/src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Http2.cs +++ b/src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Http2.cs @@ -714,6 +714,7 @@ namespace System.Net.Http.Functional.Tests [ConditionalFact(nameof(SupportsAlpn))] public async Task GoAwayFrame_NoPendingStreams_ConnectionClosed() { + using (new Timer(s => Console.WriteLine(GetStateMachineData.Describe(s)), await GetStateMachineData.FetchAsync(), 60_000, 60_000)) using (var server = Http2LoopbackServer.CreateServer()) using (HttpClient client = CreateHttpClient()) {