diff --git a/eng/test-configuration.json b/eng/test-configuration.json new file mode 100644 index 0000000000000000000000000000000000000000..6f8c5e36aaf1e66d05e2e6d5d02b258b45aa0a9d --- /dev/null +++ b/eng/test-configuration.json @@ -0,0 +1,18 @@ +{ + "version" : 1, + "defaultOnFailure": "fail", + "localRerunCount" : 3, + "retryOnRules": [ + {"testName": {"contains": "AppOfflineDroppedWhileSiteStarting_SiteShutsDown_InProcess"}}, + {"testName": {"contains": "CheckFrebDisconnect"}}, + {"testName": {"contains": "CheckStdoutWithLargeWrites"}}, + {"testName": {"contains": "ServerShutsDownWhenMainExitsStress" }}, + {"testName": {"contains": "AddressRegistrationTests" }}, + {"testName": {"contains": "MaxRequestBufferSizeTests.LargeUpload" }}, + {"failureMessage": "network disconnected" } + ], + "failOnRules": [ + ], + "quarantineRules": [ + ] +} \ No newline at end of file diff --git a/src/Middleware/Diagnostics/test/FunctionalTests/Diagnostics.FunctionalTests.csproj b/src/Middleware/Diagnostics/test/FunctionalTests/Diagnostics.FunctionalTests.csproj index b7caf9c87e39aed2d7a00e07fffaf56efbcac8c4..6104a9162ac74649cf814ad9cca5655cdae8ed95 100644 --- a/src/Middleware/Diagnostics/test/FunctionalTests/Diagnostics.FunctionalTests.csproj +++ b/src/Middleware/Diagnostics/test/FunctionalTests/Diagnostics.FunctionalTests.csproj @@ -5,6 +5,9 @@ <SignAssembly>false</SignAssembly> <AssemblyName>Diagnostics.FunctionalTests</AssemblyName> <TestDependsOnMssql>true</TestDependsOnMssql> + + <!-- https://github.com/dotnet/aspnetcore/issues/38819 LocalDb sometimes hangs on win11 helix queue --> + <BuildHelixPayload>false</BuildHelixPayload> </PropertyGroup> <ItemGroup> diff --git a/src/Middleware/HttpLogging/test/FileLoggerProcessorTests.cs b/src/Middleware/HttpLogging/test/FileLoggerProcessorTests.cs index a3c6bfd9676f64f69dfffb898a6e658a29ca6ecf..b051337a5c7d80e2e5d63625ebed36928c392d4d 100644 --- a/src/Middleware/HttpLogging/test/FileLoggerProcessorTests.cs +++ b/src/Middleware/HttpLogging/test/FileLoggerProcessorTests.cs @@ -73,7 +73,6 @@ namespace Microsoft.AspNetCore.HttpLogging } } - [QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/34284")] [Fact] public async Task RollsTextFiles() { @@ -418,7 +417,7 @@ namespace Microsoft.AspNetCore.HttpLogging // Continue } await Task.Delay(10); - } + } } private async Task WaitForRoll(string fileName) diff --git a/src/ProjectTemplates/BlazorTemplates.Tests/BlazorTemplates.Tests.csproj b/src/ProjectTemplates/BlazorTemplates.Tests/BlazorTemplates.Tests.csproj index 60ef47172209d779a859366ce819ea34da019b4d..a488e40738615468b16b5032c97764d3ea76b508 100644 --- a/src/ProjectTemplates/BlazorTemplates.Tests/BlazorTemplates.Tests.csproj +++ b/src/ProjectTemplates/BlazorTemplates.Tests/BlazorTemplates.Tests.csproj @@ -9,6 +9,9 @@ <BaseOutputPath /> <OutputPath /> + <!-- https://github.com/dotnet/aspnetcore/issues/38818 --> + <BuildHelixPayload>false</BuildHelixPayload> + <!-- Properties that affect test runs --> <!-- TestTemplateCreationFolder is the folder where the templates will be created. Will point out to $(OutputDir)$(TestTemplateCreationFolder) --> <TestTemplateCreationFolder>TestTemplates\</TestTemplateCreationFolder> diff --git a/src/ProjectTemplates/test/BlazorServerTemplateTest.cs b/src/ProjectTemplates/test/BlazorServerTemplateTest.cs index f16a58e77aafc31ce413496053831bdddc51d3a8..432c85043bd7e2e9656718f80f9713f4442b985b 100644 --- a/src/ProjectTemplates/test/BlazorServerTemplateTest.cs +++ b/src/ProjectTemplates/test/BlazorServerTemplateTest.cs @@ -38,7 +38,6 @@ namespace Templates.Test [InlineData("SingleOrg", null)] [InlineData("SingleOrg", new string[] { "--called-api-url \"https://graph.microsoft.com\"", "--called-api-scopes user.readwrite" })] [InlineData("SingleOrg", new string[] { "--calls-graph" })] - [QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/30882")] public Task BlazorServerTemplate_IdentityWeb_BuildAndPublish(string auth, string[] args) => CreateBuildPublishAsync("blazorserveridweb" + Guid.NewGuid().ToString().Substring(0, 10).ToLowerInvariant(), auth, args); diff --git a/src/ProjectTemplates/test/RazorPagesTemplateTest.cs b/src/ProjectTemplates/test/RazorPagesTemplateTest.cs index ac1b0742620aec16966e9e08f4b0c9e763622e83..1af0a68366ffc266a48504b1312268a08c49127d 100644 --- a/src/ProjectTemplates/test/RazorPagesTemplateTest.cs +++ b/src/ProjectTemplates/test/RazorPagesTemplateTest.cs @@ -232,7 +232,6 @@ namespace Templates.Test [ConditionalTheory] [InlineData("SingleOrg", new string[] { "--calls-graph" })] - [QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/31729")] public Task RazorPagesTemplate_IdentityWeb_BuildsAndPublishes_WithSingleOrg(string auth, string[] args) => BuildAndPublishRazorPagesTemplate(auth: auth, args: args); private async Task<Project> BuildAndPublishRazorPagesTemplate(string auth, string[] args) diff --git a/src/Servers/Kestrel/test/FunctionalTests/MaxRequestBufferSizeTests.cs b/src/Servers/Kestrel/test/FunctionalTests/MaxRequestBufferSizeTests.cs index 836d0bb1082b685fd61c0b761a89294cbed47948..4be9eac3c3ef3f21edad19a394d7267972d4ea54 100644 --- a/src/Servers/Kestrel/test/FunctionalTests/MaxRequestBufferSizeTests.cs +++ b/src/Servers/Kestrel/test/FunctionalTests/MaxRequestBufferSizeTests.cs @@ -117,7 +117,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests } [Theory] [MemberData(nameof(LargeUploadData))] - [QuarantinedTest("This is inherently flaky and should never be unquarantined.")] + // This is inherently flaky and is relying on helix retry to pass consistently public async Task LargeUpload(long? maxRequestBufferSize, bool connectionAdapter, bool expectPause) { // Parameters