Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable disabled quic tests #56590

Merged
merged 1 commit into from
Jul 30, 2021
Merged
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 @@ -50,7 +50,6 @@ private static async Task<QuicStream> OpenAndUseStreamAsync(QuicConnection c)
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/55242", TestPlatforms.Linux)]
public async Task CloseAsync_WithPendingAcceptAndConnect_PendingAndSubsequentThrowOperationAbortedException()
{
using var sync = new SemaphoreSlim(0);
Expand Down Expand Up @@ -96,7 +95,6 @@ await RunClientServer(
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/55242", TestPlatforms.Linux)]
public async Task Dispose_WithPendingAcceptAndConnect_PendingAndSubsequentThrowOperationAbortedException()
{
using var sync = new SemaphoreSlim(0);
Expand Down Expand Up @@ -130,7 +128,6 @@ await RunClientServer(
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/55242", TestPlatforms.Linux)]
public async Task ConnectionClosedByPeer_WithPendingAcceptAndConnect_PendingAndSubsequentThrowConnectionAbortedException()
{
if (IsMockProvider)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -573,8 +573,7 @@ await RunClientServer(
await using QuicStream stream = await connection.AcceptStreamAsync();

QuicStreamAbortedException ex = await Assert.ThrowsAsync<QuicStreamAbortedException>(() => WriteForever(stream));
// [ActiveIssue("https://github.com/dotnet/runtime/issues/55746")]
//Assert.Equal(expectedErrorCode, ex.ErrorCode);
Assert.Equal(expectedErrorCode, ex.ErrorCode);

// We should still return true from CanWrite, even though the write has been aborted.
Assert.True(stream.CanWrite);
Expand Down