Add debug state machine tracking to GoAwayFrame_NoPendingStreams_ConnectionClosed...
authorStephen Toub <stoub@microsoft.com>
Tue, 11 Jun 2019 03:22:05 +0000 (20:22 -0700)
committerGitHub <noreply@github.com>
Tue, 11 Jun 2019 03:22:05 +0000 (20:22 -0700)
Commit migrated from https://github.com/dotnet/corefx/commit/0b0df51dab6f641e2988846dd6913de2db30789c

src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Http2.cs

index 74176f3..811ba1a 100644 (file)
@@ -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())
             {