Quarantining some tests (#19568)
This commit is contained in:
parent
648d9e37a9
commit
3b4be4f51a
|
|
@ -13,6 +13,7 @@ using Microsoft.AspNetCore.Hosting;
|
|||
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;
|
||||
|
|
@ -20,6 +21,7 @@ using Xunit;
|
|||
|
||||
namespace Microsoft.AspNetCore.Authentication.Negotiate
|
||||
{
|
||||
[QuarantinedTest]
|
||||
public class EventTests
|
||||
{
|
||||
[Fact]
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ using Microsoft.AspNetCore.Hosting;
|
|||
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;
|
||||
|
|
@ -21,6 +22,7 @@ using Xunit.Sdk;
|
|||
|
||||
namespace Microsoft.AspNetCore.Authentication.Negotiate
|
||||
{
|
||||
[QuarantinedTest]
|
||||
public class NegotiateHandlerTests
|
||||
{
|
||||
[Fact]
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ using Microsoft.AspNetCore.Builder;
|
|||
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;
|
||||
|
|
@ -14,6 +15,7 @@ using Xunit;
|
|||
|
||||
namespace Microsoft.AspNetCore.Authentication.Negotiate
|
||||
{
|
||||
[QuarantinedTest]
|
||||
public class ServerDeferralTests
|
||||
{
|
||||
[Fact]
|
||||
|
|
|
|||
|
|
@ -153,6 +153,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Tests
|
|||
}
|
||||
|
||||
[Fact]
|
||||
[QuarantinedTest]
|
||||
public async Task StreamPool_MultipleStreamsInSequence_PooledStreamReused()
|
||||
{
|
||||
TaskCompletionSource<object> appDelegateTcs = null;
|
||||
|
|
@ -1175,7 +1176,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Tests
|
|||
[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;
|
||||
|
|
|
|||
|
|
@ -790,6 +790,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.InMemory.FunctionalTests
|
|||
}
|
||||
|
||||
[Fact]
|
||||
[QuarantinedTest]
|
||||
public async Task ContentLengthReadAsyncSingleBytesAtATime()
|
||||
{
|
||||
var testContext = new TestServiceContext(LoggerFactory);
|
||||
|
|
|
|||
|
|
@ -2541,6 +2541,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.InMemory.FunctionalTests
|
|||
}
|
||||
|
||||
[Fact]
|
||||
[QuarantinedTest]
|
||||
public async Task AppAbortViaIConnectionLifetimeFeatureIsLogged()
|
||||
{
|
||||
var testContext = new TestServiceContext(LoggerFactory);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
[Theory]
|
||||
[QuarantinedTest]
|
||||
[MemberData(nameof(SupportedSchemes))]
|
||||
public async Task Settings_MaxConcurrentStreamsGet_Server(string scheme)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2769,6 +2769,7 @@ namespace Microsoft.AspNetCore.SignalR.Tests
|
|||
}
|
||||
|
||||
[Fact]
|
||||
[QuarantinedTest]
|
||||
public async Task ReceivingMessagesPreventsConnectionTimeoutFromOccuring()
|
||||
{
|
||||
using (StartVerifiableLog())
|
||||
|
|
|
|||
Loading…
Reference in New Issue