Skip to content

Commit

Permalink
Port #38814 to 6.0 (#40101)
Browse files Browse the repository at this point in the history
* Port #38814 to 6.0
  • Loading branch information
pranavkm committed Feb 11, 2022
1 parent 006f1b8 commit 00d34c3
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 5 deletions.
18 changes: 18 additions & 0 deletions 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": [
]
}
Expand Up @@ -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>
Expand Down
3 changes: 1 addition & 2 deletions src/Middleware/HttpLogging/test/FileLoggerProcessorTests.cs
Expand Up @@ -73,7 +73,6 @@ await using (var logger = new FileLoggerProcessor(new OptionsWrapperMonitor<W3CL
}
}

[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/34284")]
[Fact]
public async Task RollsTextFiles()
{
Expand Down Expand Up @@ -418,7 +417,7 @@ private async Task WaitForFile(string fileName, int length)
// Continue
}
await Task.Delay(10);
}
}
}

private async Task WaitForRoll(string fileName)
Expand Down
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion src/ProjectTemplates/test/BlazorServerTemplateTest.cs
Expand Up @@ -38,7 +38,6 @@ public BlazorServerTemplateTest(ProjectFactoryFixture projectFactory)
[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);

Expand Down
1 change: 0 additions & 1 deletion src/ProjectTemplates/test/RazorPagesTemplateTest.cs
Expand Up @@ -232,7 +232,6 @@ public async Task RazorPagesTemplate_IndividualAuth(bool useLocalDB)

[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)
Expand Down
Expand Up @@ -117,7 +117,7 @@ public static IEnumerable<object[]> LargeUploadData
}
[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
Expand Down

0 comments on commit 00d34c3

Please sign in to comment.