Skip to content

Commit 84a04c9

Browse files
author
John Luo
authored
Quarantining tests (#20631)
* Quarantining tests * Namespace collision
1 parent 8e50db6 commit 84a04c9

File tree

5 files changed

+9
-2
lines changed

5 files changed

+9
-2
lines changed

src/ProjectTemplates/test/AssemblyInfo.AssemblyFixtures.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using Microsoft.AspNetCore.E2ETesting;
5+
using Microsoft.AspNetCore.Testing;
56
using Templates.Test.Helpers;
67
using Xunit;
78

89
[assembly: TestFramework("Microsoft.AspNetCore.E2ETesting.XunitTestFrameworkWithAssemblyFixture", "ProjectTemplates.Tests")]
910

10-
[assembly: AssemblyFixture(typeof(ProjectFactoryFixture))]
11-
[assembly: AssemblyFixture(typeof(SeleniumStandaloneServer))]
11+
[assembly: Microsoft.AspNetCore.E2ETesting.AssemblyFixture(typeof(ProjectFactoryFixture))]
12+
[assembly: Microsoft.AspNetCore.E2ETesting.AssemblyFixture(typeof(SeleniumStandaloneServer))]
13+
14+
[assembly: QuarantinedTest("Investigation pending in https://github.com/dotnet/aspnetcore/issues/20479")]

src/Security/Authentication/test/SecureDataFormatTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public void ProtectWithPurposeRoundTrips()
4949
}
5050

5151
[Fact]
52+
[QuarantinedTest]
5253
public void UnprotectWithDifferentPurposeFails()
5354
{
5455
var provider = ServiceProvider.GetRequiredService<IDataProtectionProvider>();

src/Servers/Kestrel/test/Interop.FunctionalTests/HttpClientHttp2InteropTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1415,6 +1415,7 @@ public async Task Settings_MaxHeaderListSize_Client(string scheme)
14151415
// Settings_InitialWindowSize_Lower_Client - Not configurable.
14161416

14171417
[Theory]
1418+
[QuarantinedTest]
14181419
[MemberData(nameof(SupportedSchemes))]
14191420
public async Task Settings_InitialWindowSize_Server(string scheme)
14201421
{

src/Tools/Microsoft.dotnet-openapi/test/OpenApiAddURLTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,7 @@ public void OpenApi_Add_URL_MultipleTimes_OnlyOneReference()
420420
}
421421

422422
[Fact]
423+
[QuarantinedTest]
423424
public async Task OpenAPi_Add_URL_InvalidUrl()
424425
{
425426
var project = CreateBasicProject(withOpenApi: false);

src/Tools/dotnet-watch/test/MsBuildFileSetFactoryTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ public async Task ExcludesDefaultItemsWithWatchFalseMetadata()
7777
}
7878

7979
[Fact]
80+
[QuarantinedTest]
8081
public async Task SingleTfm()
8182
{
8283
_tempDir

0 commit comments

Comments
 (0)