Skip to content

Commit

Permalink
Quarantining some tests (dotnet#19568)
Browse files Browse the repository at this point in the history
  • Loading branch information
analogrelay authored Mar 4, 2020
1 parent 648d9e3 commit 3b4be4f
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using Microsoft.AspNetCore.TestHost;
using Microsoft.AspNetCore.Testing;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Net.Http.Headers;
using Xunit;

namespace Microsoft.AspNetCore.Authentication.Negotiate
{
[QuarantinedTest]
public class EventTests
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<Reference Include="Microsoft.AspNetCore.Authentication.Negotiate" />
<Reference Include="Microsoft.AspNetCore.Diagnostics" />
<Reference Include="Microsoft.AspNetCore.Routing" />
<Reference Include="Microsoft.AspNetCore.Testing" />
<Reference Include="Microsoft.AspNetCore.TestHost" />
<Reference Include="Microsoft.Extensions.Hosting" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using Microsoft.AspNetCore.TestHost;
using Microsoft.AspNetCore.Testing;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Net.Http.Headers;
Expand All @@ -21,6 +22,7 @@

namespace Microsoft.AspNetCore.Authentication.Negotiate
{
[QuarantinedTest]
public class NegotiateHandlerTests
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Hosting.Server;
using Microsoft.AspNetCore.TestHost;
using Microsoft.AspNetCore.Testing;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Options;
using Xunit;

namespace Microsoft.AspNetCore.Authentication.Negotiate
{
[QuarantinedTest]
public class ServerDeferralTests
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ await ExpectAsync(Http2FrameType.PING,
}

[Fact]
[QuarantinedTest]
public async Task StreamPool_MultipleStreamsInSequence_PooledStreamReused()
{
TaskCompletionSource<object> appDelegateTcs = null;
Expand Down Expand Up @@ -1175,7 +1176,7 @@ await WaitForConnectionErrorAsync<Http2ConnectionErrorException>(
[Fact]
public async Task Frame_MultipleStreams_CanBeCreatedIfClientCountIsLessThanActualMaxStreamCount()
{
_serviceContext.ServerOptions.Limits.Http2.MaxStreamsPerConnection = 1;
_serviceContext.ServerOptions.Limits.Http2.MaxStreamsPerConnection = 1;
var firstRequestBlock = new TaskCompletionSource<object>();
var firstRequestReceived = new TaskCompletionSource<object>();
var makeFirstRequestWait = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,7 @@ await connection.ReceiveEnd(
}

[Fact]
[QuarantinedTest]
public async Task ContentLengthReadAsyncSingleBytesAtATime()
{
var testContext = new TestServiceContext(LoggerFactory);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2541,6 +2541,7 @@ await connection.Send(
}

[Fact]
[QuarantinedTest]
public async Task AppAbortViaIConnectionLifetimeFeatureIsLogged()
{
var testContext = new TestServiceContext(LoggerFactory);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1189,6 +1189,7 @@ public async Task Settings_HeaderTableSize_CanBeReduced_Server(string scheme)
// Nor does Kestrel yet support sending dynamic table updates, so there's nothing to test here. https://github.com/dotnet/aspnetcore/issues/4715

[Theory]
[QuarantinedTest]
[MemberData(nameof(SupportedSchemes))]
public async Task Settings_MaxConcurrentStreamsGet_Server(string scheme)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2769,6 +2769,7 @@ public async Task ConnectionTimesOutIfInitialPingAndThenNoMessages()
}

[Fact]
[QuarantinedTest]
public async Task ReceivingMessagesPreventsConnectionTimeoutFromOccuring()
{
using (StartVerifiableLog())
Expand Down

0 comments on commit 3b4be4f

Please sign in to comment.