From 0f703805241c98fc9ce099467a15c7590b32bc26 Mon Sep 17 00:00:00 2001 From: John Luo Date: Sat, 13 Jun 2020 14:28:40 -0700 Subject: [PATCH] Quarantine tests (#22919) --- src/Components/test/E2ETest/Tests/BootResourceCachingTest.cs | 3 ++- src/Hosting/test/FunctionalTests/WebHostBuilderTests.cs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Components/test/E2ETest/Tests/BootResourceCachingTest.cs b/src/Components/test/E2ETest/Tests/BootResourceCachingTest.cs index cd992ed279..f273f5e53f 100644 --- a/src/Components/test/E2ETest/Tests/BootResourceCachingTest.cs +++ b/src/Components/test/E2ETest/Tests/BootResourceCachingTest.cs @@ -48,7 +48,7 @@ namespace Microsoft.AspNetCore.Components.E2ETest.Tests var initialResourcesRequested = GetAndClearRequestedPaths(); Assert.NotEmpty(initialResourcesRequested.Where(path => path.EndsWith("/blazor.boot.json"))); Assert.NotEmpty(initialResourcesRequested.Where(path => path.EndsWith("/dotnet.wasm"))); - Assert.NotEmpty(initialResourcesRequested.Where(path => path.EndsWith("/dotnet.timezones.dat"))); + Assert.NotEmpty(initialResourcesRequested.Where(path => path.EndsWith("/dotnet.timezones.dat"))); Assert.NotEmpty(initialResourcesRequested.Where(path => path.EndsWith(".js"))); Assert.NotEmpty(initialResourcesRequested.Where(path => path.EndsWith(".dll"))); @@ -66,6 +66,7 @@ namespace Microsoft.AspNetCore.Components.E2ETest.Tests } [Fact] + [QuarantinedTest] public void IncrementallyUpdatesCache() { // Perform a first load to populate the cache diff --git a/src/Hosting/test/FunctionalTests/WebHostBuilderTests.cs b/src/Hosting/test/FunctionalTests/WebHostBuilderTests.cs index 3e170397a2..a6735ea9e2 100644 --- a/src/Hosting/test/FunctionalTests/WebHostBuilderTests.cs +++ b/src/Hosting/test/FunctionalTests/WebHostBuilderTests.cs @@ -20,6 +20,7 @@ namespace Microsoft.AspNetCore.Hosting.FunctionalTests .WithTfms(Tfm.Net50); [ConditionalTheory] + [QuarantinedTest] [MemberData(nameof(TestVariants))] public async Task InjectedStartup_DefaultApplicationNameIsEntryAssembly(TestVariant variant) {