Explorar el Código

Quarantined tests which were not running (skipped on Helix) (#23023)

Artak hace 5 años
padre
commit
2434047663

+ 1 - 1
src/Components/WebAssembly/Build/test/RuntimeDependenciesResolverTest.cs

@@ -15,7 +15,7 @@ namespace Microsoft.AspNetCore.Components.WebAssembly.Build
     public class RuntimeDependenciesResolverTest
     {
         [Fact]
-        [SkipOnHelix("https://github.com/dotnet/aspnetcore/issues/10426")]
+        [QuarantinedTest]
         public void FindsReferenceAssemblyGraph_ForStandaloneApp()
         {
             // Arrange

+ 2 - 2
src/Hosting/Hosting/test/WebHostTests.cs

@@ -198,7 +198,7 @@ namespace Microsoft.AspNetCore.Hosting
         }
 
         [ConditionalFact]
-        [SkipOnHelix("https://github.com/dotnet/aspnetcore/issues/7291")]
+        [QuarantinedTest]
         public async Task WebHostStopAsyncUsesDefaultTimeoutIfGivenTokenDoesNotFire()
         {
             var data = new Dictionary<string, string>
@@ -313,7 +313,7 @@ namespace Microsoft.AspNetCore.Hosting
         }
 
         [ConditionalFact]
-        [SkipOnHelix("https://github.com/dotnet/aspnetcore/issues/7291")]
+        [QuarantinedTest]
         public void WebHostApplicationLifetimeEventsOrderedCorrectlyDuringShutdown()
         {
             using (var host = CreateBuilder()

+ 2 - 2
src/ProjectTemplates/test/ByteOrderMarkTest.cs

@@ -22,7 +22,7 @@ namespace Templates.Test
         }
 
         [ConditionalTheory]
-        [SkipOnHelix("missing files")]
+        [QuarantinedTest]
         [InlineData("Web.ProjectTemplates")]
         [InlineData("Web.Spa.ProjectTemplates")]
         public void JSAndJSONInAllTemplates_ShouldNotContainBOM(string projectName)
@@ -64,7 +64,7 @@ namespace Templates.Test
         }
 
         [ConditionalFact]
-        [SkipOnHelix("missing files")]
+        [QuarantinedTest]
         public void RazorFilesInWebProjects_ShouldContainBOM()
         {
             var projectName = "Web.ProjectTemplates";

+ 1 - 1
src/Servers/HttpSys/test/FunctionalTests/Listener/ServerTests.cs

@@ -126,7 +126,7 @@ namespace Microsoft.AspNetCore.Server.HttpSys.Listener
         }
 
         [ConditionalFact]
-        [SkipOnHelix("https://github.com/dotnet/aspnetcore/pull/20718#issuecomment-618758634")]
+        [QuarantinedTest("https://github.com/dotnet/aspnetcore/pull/20718#issuecomment-618758634")]
         public void Server_RegisterUnavailablePrefix_ThrowsActionableHttpSysException()
         {
             var options = new HttpSysOptions();

+ 1 - 1
src/Servers/IIS/IIS/test/Common.FunctionalTests/Inprocess/StartupTests.cs

@@ -119,7 +119,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests.InProcess
         [SkipIfNotAdmin]
         [RequiresNewShim]
         [RequiresIIS(IISCapability.PoolEnvironmentVariables)]
-        [SkipOnHelix("https://github.com/dotnet/aspnetcore-internal/issues/2221")]
+        [QuarantinedTest("https://github.com/dotnet/aspnetcore-internal/issues/2221")]
         public async Task StartsWithDotnetInstallLocation(RuntimeArchitecture runtimeArchitecture)
         {
             var deploymentParameters = Fixture.GetBaseDeploymentParameters();

+ 2 - 2
src/Servers/Kestrel/test/BindTests/AddressRegistrationTests.cs

@@ -32,7 +32,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests
 
         [ConditionalFact]
         [HostNameIsReachable]
-        [SkipOnHelix("https://github.com/dotnet/aspnetcore/issues/7267")]
+        [QuarantinedTest]
         public async Task RegisterAddresses_HostName_Success()
         {
             var hostName = Dns.GetHostName();
@@ -344,7 +344,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests
 
         [ConditionalFact]
         [HostNameIsReachable]
-        [SkipOnHelix("https://github.com/dotnet/aspnetcore/issues/7267")]
+        [QuarantinedTest]
         public async Task ListenAnyIP_HostName_Success()
         {
             var hostName = Dns.GetHostName();

+ 1 - 1
src/Servers/Kestrel/test/InMemory.FunctionalTests/Http2/TlsTests.cs

@@ -29,7 +29,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.InMemory.FunctionalTests.Http2
         private static X509Certificate2 _x509Certificate2 = TestResources.GetTestCertificate();
 
         [ConditionalFact]
-        [SkipOnHelix("https://github.com/dotnet/aspnetcore/issues/7000")]
+        [QuarantinedTest]
         public async Task TlsHandshakeRejectsTlsLessThan12()
         {
             using (var server = new TestServer(context =>