Skip stream pool test (#20371)
This commit is contained in:
parent
25f24165e6
commit
fa4600f5fa
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue