From fa4600f5fa09ec4e7d2facdac68f18f683963c54 Mon Sep 17 00:00:00 2001 From: Justin Kotalik Date: Tue, 31 Mar 2020 14:44:20 -0700 Subject: [PATCH] Skip stream pool test (#20371) --- .../InMemory.FunctionalTests/Http2/Http2ConnectionTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Servers/Kestrel/test/InMemory.FunctionalTests/Http2/Http2ConnectionTests.cs b/src/Servers/Kestrel/test/InMemory.FunctionalTests/Http2/Http2ConnectionTests.cs index 6fd7ce1d8b..cdf96f3938 100644 --- a/src/Servers/Kestrel/test/InMemory.FunctionalTests/Http2/Http2ConnectionTests.cs +++ b/src/Servers/Kestrel/test/InMemory.FunctionalTests/Http2/Http2ConnectionTests.cs @@ -436,7 +436,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Tests await InitializeConnectionAsync(async context => { - await serverTcs.Task; + await serverTcs.Task.DefaultTimeout(); await context.Response.WriteAsync("Content"); throw new InvalidOperationException("Put the stream into an invalid state by throwing after writing to response."); @@ -468,7 +468,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Tests Assert.Equal(0, _connection.StreamPool.Count); var output = (Http2OutputProducer)stream.Output; - await output._dataWriteProcessingTask; + await output._dataWriteProcessingTask.DefaultTimeout(); await StopConnectionAsync(expectedLastStreamId: 1, ignoreNonGoAwayFrames: false); }