Quarantine static web assets tests so we can capture more data for diagnostics (#22876)

This commit is contained in:
Javier Calvarro Nelson 2020-06-12 19:14:22 +02:00 committed by GitHub
parent 3679a01e4d
commit 53696e4228
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -28,7 +28,8 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
public ITestOutputHelper Output { get; private set; } public ITestOutputHelper Output { get; private set; }
[Fact(Skip = "https://github.com/dotnet/aspnetcore/issues/22049")] [Fact]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/22049")]
[InitializeTestProject("AppWithPackageAndP2PReference", language: "C#", additionalProjects: new[] { "ClassLibrary", "ClassLibrary2" })] [InitializeTestProject("AppWithPackageAndP2PReference", language: "C#", additionalProjects: new[] { "ClassLibrary", "ClassLibrary2" })]
public async Task Build_GeneratesStaticWebAssetsManifest_Success_CreatesManifest() public async Task Build_GeneratesStaticWebAssetsManifest_Success_CreatesManifest()
{ {
@ -126,7 +127,8 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
Assert.FileExists(publish, PublishOutputPath, Path.Combine("wwwroot", "_content", "PackageLibraryTransitiveDependency", "js", "pkg-transitive-dep.js")); Assert.FileExists(publish, PublishOutputPath, Path.Combine("wwwroot", "_content", "PackageLibraryTransitiveDependency", "js", "pkg-transitive-dep.js"));
} }
[Fact(Skip = "https://github.com/dotnet/aspnetcore/issues/22049")] [Fact]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/22049")]
[InitializeTestProject("AppWithPackageAndP2PReference", additionalProjects: new[] { "ClassLibrary", "ClassLibrary2" })] [InitializeTestProject("AppWithPackageAndP2PReference", additionalProjects: new[] { "ClassLibrary", "ClassLibrary2" })]
public async Task Publish_NoBuild_CopiesStaticWebAssetsToDestinationFolder() public async Task Publish_NoBuild_CopiesStaticWebAssetsToDestinationFolder()
{ {
@ -184,7 +186,8 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
Assert.FileDoesNotExist(result, IntermediateOutputPath, "staticwebassets", "AppWithPackageAndP2PReference.StaticWebAssets.xml"); Assert.FileDoesNotExist(result, IntermediateOutputPath, "staticwebassets", "AppWithPackageAndP2PReference.StaticWebAssets.xml");
} }
[Fact(Skip = "https://github.com/dotnet/aspnetcore/issues/22049")] [Fact]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/22049")]
[InitializeTestProject("AppWithPackageAndP2PReference", language: "C#", additionalProjects: new[] { "ClassLibrary", "ClassLibrary2" })] [InitializeTestProject("AppWithPackageAndP2PReference", language: "C#", additionalProjects: new[] { "ClassLibrary", "ClassLibrary2" })]
public async Task Rebuild_Success_RecreatesManifestAndCache() public async Task Rebuild_Success_RecreatesManifestAndCache()
{ {