Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public class QuicConnectionContextTests : TestApplicationErrorLoggerLoggedTest

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task Abort_AbortAfterDispose_Ignored()
{
// Arrange
Expand All @@ -46,6 +47,7 @@ public async Task Abort_AbortAfterDispose_Ignored()

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task DisposeAsync_DisposeConnectionAfterAcceptingStream_DefaultCloseErrorCodeReported()
{
// Arrange
Expand Down Expand Up @@ -74,6 +76,7 @@ public async Task DisposeAsync_DisposeConnectionAfterAcceptingStream_DefaultClos

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task AcceptAsync_CancellationThenAccept_AcceptStreamAfterCancellation()
{
// Arrange
Expand Down Expand Up @@ -113,6 +116,7 @@ public async Task AcceptAsync_CancellationThenAccept_AcceptStreamAfterCancellati

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task AcceptAsync_ClientClosesConnection_ServerNotified()
{
// Arrange
Expand Down Expand Up @@ -145,6 +149,7 @@ public async Task AcceptAsync_ClientClosesConnection_ServerNotified()

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task AcceptAsync_ClientStartsAndStopsUnidirectionStream_ServerAccepts()
{
// Arrange
Expand Down Expand Up @@ -187,6 +192,7 @@ public async Task AcceptAsync_ClientStartsAndStopsUnidirectionStream_ServerAccep

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task AcceptAsync_ClientStartsAndStopsBidirectionStream_ServerAccepts()
{
// Arrange
Expand Down Expand Up @@ -237,6 +243,7 @@ public async Task AcceptAsync_ClientStartsAndStopsBidirectionStream_ServerAccept

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task AcceptAsync_ServerStartsAndStopsUnidirectionStream_ClientAccepts()
{
// Arrange
Expand Down Expand Up @@ -282,6 +289,7 @@ public async Task AcceptAsync_ServerStartsAndStopsUnidirectionStream_ClientAccep

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task AcceptAsync_ClientClosesConnection_ExceptionThrown()
{
// Arrange
Expand All @@ -308,6 +316,7 @@ public async Task AcceptAsync_ClientClosesConnection_ExceptionThrown()

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task StreamPool_StreamAbortedOnServer_NotPooled()
{
// Arrange
Expand Down Expand Up @@ -351,6 +360,7 @@ public async Task StreamPool_StreamAbortedOnServer_NotPooled()

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task StreamPool_StreamAbortedOnServerAfterComplete_NotPooled()
{
// Arrange
Expand Down Expand Up @@ -396,6 +406,7 @@ public async Task StreamPool_StreamAbortedOnServerAfterComplete_NotPooled()

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task StreamPool_StreamAbortedOnClient_NotPooled()
{
// Arrange
Expand Down Expand Up @@ -443,6 +454,7 @@ public async Task StreamPool_StreamAbortedOnClient_NotPooled()

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task StreamPool_StreamAbortedOnClientAndServer_NotPooled()
{
// Arrange
Expand Down Expand Up @@ -500,6 +512,7 @@ public async Task StreamPool_StreamAbortedOnClientAndServer_NotPooled()

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task StreamPool_Heartbeat_ExpiredStreamRemoved()
{
// Arrange
Expand Down Expand Up @@ -660,6 +673,7 @@ static async Task SendStream(ILogger logger, int streamIndex, RequestState reque

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task PersistentState_StreamsReused_StatePersisted()
{
using var httpEventSource = new HttpEventSourceListener(LoggerFactory);
Expand Down Expand Up @@ -741,6 +755,7 @@ public async Task PersistentState_StreamsReused_StatePersisted()
[MsQuicSupported]
[InlineData(-1L)] // Too small
[InlineData(1L << 62)] // Too big
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task IProtocolErrorFeature_InvalidErrorCode(long errorCode)
{
// Arrange
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public async Task AcceptAsync_AfterUnbind_ReturnNull()

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task AcceptAsync_ClientCreatesConnection_ServerAccepts()
{
// Arrange
Expand All @@ -64,6 +65,7 @@ public async Task AcceptAsync_ClientCreatesConnection_ServerAccepts()

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task AcceptAsync_ClientCreatesInvalidConnection_ServerContinuesToAccept()
{
await using var connectionListener = await QuicTestHelpers.CreateConnectionListenerFactory(LoggerFactory);
Expand Down Expand Up @@ -160,6 +162,7 @@ public async Task ClientCertificate_Required_NotSent_AcceptedViaCallback()

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task AcceptAsync_NoCertificateOrApplicationProtocol_Log()
{
// Arrange
Expand Down Expand Up @@ -226,6 +229,7 @@ public async Task AcceptAsync_DisposeAfterCall_CleanExitAndLog()

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task AcceptAsync_ErrorFromServerCallback_CleanExitAndLog()
{
// Arrange
Expand Down Expand Up @@ -297,6 +301,7 @@ public async Task BindAsync_ListenersSharePortWithPlainUdpSocket_ThrowAddressInU

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task AcceptAsync_NoApplicationProtocolsInCallback_DefaultToConnectionProtocols()
{
// Arrange
Expand Down Expand Up @@ -328,6 +333,7 @@ public async Task AcceptAsync_NoApplicationProtocolsInCallback_DefaultToConnecti

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task AcceptAsync_Success_RemovedFromPendingConnections()
{
// Arrange
Expand Down Expand Up @@ -371,6 +377,7 @@ public async Task AcceptAsync_Success_RemovedFromPendingConnections()

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task AcceptAsync_NoCertificateCallback_RemovedFromPendingConnections()
{
// Arrange
Expand Down Expand Up @@ -424,6 +431,7 @@ public async Task AcceptAsync_NoCertificateCallback_RemovedFromPendingConnection

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task AcceptAsync_TlsCallback_ConnectionContextInArguments()
{
// Arrange
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public async Task BidirectionalStream_ServerReadsDataAndCompletes_GracefullyClos

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task BidirectionalStream_ReadAborted_NotPooled()
{
// Arrange
Expand Down Expand Up @@ -99,6 +100,7 @@ public async Task BidirectionalStream_ReadAborted_NotPooled()

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task BidirectionalStream_ClientAbortedAfterDisposeCalled_NotPooled()
{
// Arrange
Expand Down Expand Up @@ -161,6 +163,7 @@ public async Task BidirectionalStream_ClientAbortedAfterDisposeCalled_NotPooled(
[InlineData(1024)]
[InlineData(1024 * 1024)]
[InlineData(1024 * 1024 * 5)]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task BidirectionalStream_ServerWritesDataAndDisposes_ClientReadsData(int dataLength)
{
// Arrange
Expand Down Expand Up @@ -226,6 +229,7 @@ public async Task BidirectionalStream_ServerWritesDataAndDisposes_ClientReadsDat

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task BidirectionalStream_MultipleStreamsOnConnection_ReusedFromPool()
{
// Arrange
Expand All @@ -248,6 +252,7 @@ public async Task BidirectionalStream_MultipleStreamsOnConnection_ReusedFromPool

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task BidirectionalStream_ClientAbortWrite_ServerReceivesAbort()
{
// Arrange
Expand Down Expand Up @@ -292,6 +297,7 @@ public async Task BidirectionalStream_ClientAbortWrite_ServerReceivesAbort()

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task ClientToServerUnidirectionalStream_ServerReadsData_GracefullyClosed()
{
// Arrange
Expand Down Expand Up @@ -326,6 +332,7 @@ public async Task ClientToServerUnidirectionalStream_ServerReadsData_GracefullyC

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task ClientToServerUnidirectionalStream_ClientAbort_ServerReceivesAbort()
{
// Arrange
Expand Down Expand Up @@ -365,6 +372,7 @@ public async Task ClientToServerUnidirectionalStream_ClientAbort_ServerReceivesA

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task ClientToServerUnidirectionalStream_CompleteWrites_PipeProvidesDataAndCompleteTogether()
{
// Arrange
Expand Down Expand Up @@ -396,6 +404,7 @@ public async Task ClientToServerUnidirectionalStream_CompleteWrites_PipeProvides

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task ServerToClientUnidirectionalStream_ServerWritesDataAndCompletes_GracefullyClosed()
{
// Arrange
Expand Down Expand Up @@ -437,6 +446,7 @@ public async Task ServerToClientUnidirectionalStream_ServerWritesDataAndComplete

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task ServerToClientUnidirectionalStream_ServerAborts_ClientGetsAbort()
{
// Arrange
Expand Down Expand Up @@ -481,6 +491,7 @@ public async Task ServerToClientUnidirectionalStream_ServerAborts_ClientGetsAbor

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task StreamAbortFeature_AbortWrite_ClientReceivesAbort()
{
// Arrange
Expand Down Expand Up @@ -531,6 +542,7 @@ public async Task StreamAbortFeature_AbortWrite_ClientReceivesAbort()
[MsQuicSupported]
[InlineData(-1L)] // Too small
[InlineData(1L << 62)] // Too big
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task IProtocolErrorFeature_InvalidErrorCode(long errorCode)
{
// Arrange
Expand Down Expand Up @@ -558,6 +570,7 @@ public async Task IProtocolErrorFeature_InvalidErrorCode(long errorCode)
[MsQuicSupported]
[InlineData(-1L)] // Too small
[InlineData(1L << 62)] // Too big
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task IStreamAbortFeature_InvalidErrorCode(long errorCode)
{
// Arrange
Expand Down
4 changes: 4 additions & 0 deletions src/Servers/Kestrel/Transport.Quic/test/WebHostTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public void HelixPlatform_QuicListenerIsSupported()

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task UseUrls_HelloWorld_ClientSuccess()
{
// Arrange
Expand Down Expand Up @@ -97,6 +98,7 @@ public async Task UseUrls_HelloWorld_ClientSuccess()
[MsQuicSupported]
[InlineData(5002, 5003)]
[InlineData(5004, 5004)]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task Listen_Http3AndSocketsCoexistOnDifferentEndpoints_ClientSuccess(int http3Port, int http1Port)
{
// Arrange
Expand Down Expand Up @@ -172,6 +174,7 @@ public async Task Listen_Http3AndSocketsOnDynamicEndpoint_Http3Disabled()

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task Listen_Http3AndSocketsCoexistOnSameEndpoint_ClientSuccess()
{
await ServerRetryHelper.BindPortsWithRetry(async port =>
Expand Down Expand Up @@ -210,6 +213,7 @@ await ServerRetryHelper.BindPortsWithRetry(async port =>

[ConditionalFact]
[MsQuicSupported]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/69582", OperatingSystems.Linux)]
public async Task Listen_Http3AndSocketsCoexistOnSameEndpoint_AltSvcEnabled_Upgrade()
{
await ServerRetryHelper.BindPortsWithRetry(async port =>
Expand Down
Loading
Loading