File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Servers/Kestrel/test/InMemory.FunctionalTests/Http2 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -648,7 +648,7 @@ protected Task SendAsync(ReadOnlySpan<byte> span)
648
648
649
649
protected static async Task FlushAsync ( PipeWriter writableBuffer )
650
650
{
651
- await writableBuffer . FlushAsync ( ) ;
651
+ await writableBuffer . FlushAsync ( ) . AsTask ( ) . DefaultTimeout ( ) ;
652
652
}
653
653
654
654
protected Task SendPreambleAsync ( ) => SendAsync ( new ArraySegment < byte > ( Http2Connection . ClientPreface ) ) ;
@@ -1161,7 +1161,7 @@ protected async Task WaitForConnectionErrorAsync<TException>(bool ignoreNonGoAwa
1161
1161
Assert . Contains ( expectedErrorMessage , expected => message . Exception . Message . Contains ( expected ) ) ;
1162
1162
}
1163
1163
1164
- await _connectionTask ;
1164
+ await _connectionTask . DefaultTimeout ( ) ;
1165
1165
_pair . Application . Output . Complete ( ) ;
1166
1166
}
1167
1167
You can’t perform that action at this time.
0 commit comments