Skip to content

Commit

Permalink
Disable System.Net.Quic.Tests.MsQuicTests.ByteMixingOrNativeAVE_Minim…
Browse files Browse the repository at this point in the history
…alFailingTest on WinSrv2022 (#95339)

* Disable System.Net.Quic.Tests.MsQuicTests.ByteMixingOrNativeAVE_MinimalFailingTest on WinSrv2022

* Update MsQuicTests.cs
  • Loading branch information
rzikm authored Nov 29, 2023
1 parent 642c868 commit 18c746a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ public async Task OpenStreamAsync_BlocksUntilAvailable_PeerClosesWritingUnidirec

// Open one stream, second call should block
await using var stream = await clientConnection.OpenOutboundStreamAsync(QuicStreamType.Unidirectional);
await stream.WriteAsync(new byte[64*1024], completeWrites: true);
await stream.WriteAsync(new byte[64 * 1024], completeWrites: true);
await Assert.ThrowsAsync<TimeoutException>(() => clientConnection.OpenOutboundStreamAsync(QuicStreamType.Unidirectional).AsTask().WaitAsync(TimeSpan.FromSeconds(1)));

await clientConnection.DisposeAsync();
Expand Down Expand Up @@ -1056,6 +1056,7 @@ public BufferSegment Append(ReadOnlyMemory<byte> memory)

[Fact]
[OuterLoop("May take several seconds")]
[ActiveIssue("https://github.com/dotnet/runtime/issues/85331", typeof(PlatformDetection), nameof(PlatformDetection.IsWindows10Version20348OrLower))]
public async Task ByteMixingOrNativeAVE_MinimalFailingTest()
{
const int writeSize = 64 * 1024;
Expand Down

0 comments on commit 18c746a

Please sign in to comment.