Quarantining some tests (#19568)

This commit is contained in:
Andrew Stanton-Nurse 2020-03-04 11:27:55 -08:00 committed by GitHub
parent 648d9e37a9
commit 3b4be4f51a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 13 additions and 1 deletions

View File

@ -13,6 +13,7 @@ using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing; using Microsoft.AspNetCore.Routing;
using Microsoft.AspNetCore.TestHost; using Microsoft.AspNetCore.TestHost;
using Microsoft.AspNetCore.Testing;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Hosting;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
@ -20,6 +21,7 @@ using Xunit;
namespace Microsoft.AspNetCore.Authentication.Negotiate namespace Microsoft.AspNetCore.Authentication.Negotiate
{ {
[QuarantinedTest]
public class EventTests public class EventTests
{ {
[Fact] [Fact]

View File

@ -12,6 +12,7 @@
<Reference Include="Microsoft.AspNetCore.Authentication.Negotiate" /> <Reference Include="Microsoft.AspNetCore.Authentication.Negotiate" />
<Reference Include="Microsoft.AspNetCore.Diagnostics" /> <Reference Include="Microsoft.AspNetCore.Diagnostics" />
<Reference Include="Microsoft.AspNetCore.Routing" /> <Reference Include="Microsoft.AspNetCore.Routing" />
<Reference Include="Microsoft.AspNetCore.Testing" />
<Reference Include="Microsoft.AspNetCore.TestHost" /> <Reference Include="Microsoft.AspNetCore.TestHost" />
<Reference Include="Microsoft.Extensions.Hosting" /> <Reference Include="Microsoft.Extensions.Hosting" />
</ItemGroup> </ItemGroup>

View File

@ -13,6 +13,7 @@ using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing; using Microsoft.AspNetCore.Routing;
using Microsoft.AspNetCore.TestHost; using Microsoft.AspNetCore.TestHost;
using Microsoft.AspNetCore.Testing;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Hosting;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
@ -21,6 +22,7 @@ using Xunit.Sdk;
namespace Microsoft.AspNetCore.Authentication.Negotiate namespace Microsoft.AspNetCore.Authentication.Negotiate
{ {
[QuarantinedTest]
public class NegotiateHandlerTests public class NegotiateHandlerTests
{ {
[Fact] [Fact]

View File

@ -7,6 +7,7 @@ using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Hosting.Server; using Microsoft.AspNetCore.Hosting.Server;
using Microsoft.AspNetCore.TestHost; using Microsoft.AspNetCore.TestHost;
using Microsoft.AspNetCore.Testing;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Options; using Microsoft.Extensions.Options;
@ -14,6 +15,7 @@ using Xunit;
namespace Microsoft.AspNetCore.Authentication.Negotiate namespace Microsoft.AspNetCore.Authentication.Negotiate
{ {
[QuarantinedTest]
public class ServerDeferralTests public class ServerDeferralTests
{ {
[Fact] [Fact]

View File

@ -153,6 +153,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Tests
} }
[Fact] [Fact]
[QuarantinedTest]
public async Task StreamPool_MultipleStreamsInSequence_PooledStreamReused() public async Task StreamPool_MultipleStreamsInSequence_PooledStreamReused()
{ {
TaskCompletionSource<object> appDelegateTcs = null; TaskCompletionSource<object> appDelegateTcs = null;

View File

@ -790,6 +790,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.InMemory.FunctionalTests
} }
[Fact] [Fact]
[QuarantinedTest]
public async Task ContentLengthReadAsyncSingleBytesAtATime() public async Task ContentLengthReadAsyncSingleBytesAtATime()
{ {
var testContext = new TestServiceContext(LoggerFactory); var testContext = new TestServiceContext(LoggerFactory);

View File

@ -2541,6 +2541,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.InMemory.FunctionalTests
} }
[Fact] [Fact]
[QuarantinedTest]
public async Task AppAbortViaIConnectionLifetimeFeatureIsLogged() public async Task AppAbortViaIConnectionLifetimeFeatureIsLogged()
{ {
var testContext = new TestServiceContext(LoggerFactory); var testContext = new TestServiceContext(LoggerFactory);

View File

@ -1189,6 +1189,7 @@ namespace Interop.FunctionalTests
// Nor does Kestrel yet support sending dynamic table updates, so there's nothing to test here. https://github.com/dotnet/aspnetcore/issues/4715 // Nor does Kestrel yet support sending dynamic table updates, so there's nothing to test here. https://github.com/dotnet/aspnetcore/issues/4715
[Theory] [Theory]
[QuarantinedTest]
[MemberData(nameof(SupportedSchemes))] [MemberData(nameof(SupportedSchemes))]
public async Task Settings_MaxConcurrentStreamsGet_Server(string scheme) public async Task Settings_MaxConcurrentStreamsGet_Server(string scheme)
{ {

View File

@ -2769,6 +2769,7 @@ namespace Microsoft.AspNetCore.SignalR.Tests
} }
[Fact] [Fact]
[QuarantinedTest]
public async Task ReceivingMessagesPreventsConnectionTimeoutFromOccuring() public async Task ReceivingMessagesPreventsConnectionTimeoutFromOccuring()
{ {
using (StartVerifiableLog()) using (StartVerifiableLog())