From 2217be28261ee2df07dd5d293d92a05a458f5a6b Mon Sep 17 00:00:00 2001 From: Justin Kotalik Date: Tue, 13 Aug 2019 14:00:33 -0700 Subject: [PATCH] Skip/disable tests in 2.2 for IIS (#12985) * Skip/disable tests in 2.2 for IIS * Update ServicesTests.cs --- .../IIS/test/Common.FunctionalTests/Inprocess/RequestTests.cs | 2 ++ .../IIS/IIS/test/IIS.Shared.FunctionalTests/ServicesTests.cs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Servers/IIS/IIS/test/Common.FunctionalTests/Inprocess/RequestTests.cs b/src/Servers/IIS/IIS/test/Common.FunctionalTests/Inprocess/RequestTests.cs index f4ae7dbc02..cf0bacc8be 100644 --- a/src/Servers/IIS/IIS/test/Common.FunctionalTests/Inprocess/RequestTests.cs +++ b/src/Servers/IIS/IIS/test/Common.FunctionalTests/Inprocess/RequestTests.cs @@ -49,6 +49,7 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests } [ConditionalTheory] + [RequiresNewHandler] [InlineData("/RequestPath/a/b/../c", "/a/c")] [InlineData("/RequestPath/a/b/./c", "/a/b/c")] public async Task Request_WithNavigation_Removed(string input, string expectedPath) @@ -59,6 +60,7 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests } [ConditionalTheory] + [RequiresNewHandler] [InlineData("/RequestPath/a/b/%2E%2E/c", "/a/c")] [InlineData("/RequestPath/a/b/%2E/c", "/a/b/c")] public async Task Request_WithEscapedNavigation_Removed(string input, string expectedPath) diff --git a/src/Servers/IIS/IIS/test/IIS.Shared.FunctionalTests/ServicesTests.cs b/src/Servers/IIS/IIS/test/IIS.Shared.FunctionalTests/ServicesTests.cs index 875b5b13be..3185b1143f 100644 --- a/src/Servers/IIS/IIS/test/IIS.Shared.FunctionalTests/ServicesTests.cs +++ b/src/Servers/IIS/IIS/test/IIS.Shared.FunctionalTests/ServicesTests.cs @@ -70,7 +70,7 @@ namespace IIS.FunctionalTests var result = await DeployAsync(baseDeploymentParameters); - await Helpers.Retry(async () => await File.ReadAllTextAsync(Path.Combine(result.ContentRoot, "Started.txt")), 10, 200); + await Helpers.Retry(async () => await File.ReadAllTextAsync(Path.Combine(result.ContentRoot, "Started.txt")), 10, 3000); StopServer(); EventLogHelpers.VerifyEventLogEvent(result, EventLogHelpers.Started(result)); }