Skip to content

Commit 53696e4

Browse files
authored
Quarantine static web assets tests so we can capture more data for diagnostics (#22876)
1 parent 3679a01 commit 53696e4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/Razor/Microsoft.NET.Sdk.Razor/integrationtests/StaticWebAssetsIntegrationTest.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ public StaticWebAssetsIntegrationTest(
2828

2929
public ITestOutputHelper Output { get; private set; }
3030

31-
[Fact(Skip = "https://github.com/dotnet/aspnetcore/issues/22049")]
31+
[Fact]
32+
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/22049")]
3233
[InitializeTestProject("AppWithPackageAndP2PReference", language: "C#", additionalProjects: new[] { "ClassLibrary", "ClassLibrary2" })]
3334
public async Task Build_GeneratesStaticWebAssetsManifest_Success_CreatesManifest()
3435
{
@@ -126,7 +127,8 @@ public async Task Publish_WithBuildReferencesDisabled_CopiesStaticWebAssetsToDes
126127
Assert.FileExists(publish, PublishOutputPath, Path.Combine("wwwroot", "_content", "PackageLibraryTransitiveDependency", "js", "pkg-transitive-dep.js"));
127128
}
128129

129-
[Fact(Skip = "https://github.com/dotnet/aspnetcore/issues/22049")]
130+
[Fact]
131+
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/22049")]
130132
[InitializeTestProject("AppWithPackageAndP2PReference", additionalProjects: new[] { "ClassLibrary", "ClassLibrary2" })]
131133
public async Task Publish_NoBuild_CopiesStaticWebAssetsToDestinationFolder()
132134
{
@@ -184,7 +186,8 @@ public async Task Clean_Success_RemovesManifestAndCache()
184186
Assert.FileDoesNotExist(result, IntermediateOutputPath, "staticwebassets", "AppWithPackageAndP2PReference.StaticWebAssets.xml");
185187
}
186188

187-
[Fact(Skip = "https://github.com/dotnet/aspnetcore/issues/22049")]
189+
[Fact]
190+
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/22049")]
188191
[InitializeTestProject("AppWithPackageAndP2PReference", language: "C#", additionalProjects: new[] { "ClassLibrary", "ClassLibrary2" })]
189192
public async Task Rebuild_Success_RecreatesManifestAndCache()
190193
{

0 commit comments

Comments
 (0)