Quarantine tests and bump Helix timeouts (#23762)

- see #23756 and #23757 for more info on quarantined tests
- see #23760 for more info on Helix timeouts
This commit is contained in:
Doug Bunting 2020-07-07 19:56:30 -07:00 committed by GitHub
parent d0ab959c89
commit 16be480616
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 12 additions and 1 deletions

View File

@ -12,6 +12,7 @@
<PropertyGroup>
<CreateHelixPayload>true</CreateHelixPayload>
<HelixTimeout>00:30:00</HelixTimeout>
<HelixTimeout Condition="$(HelixTargetQueue.StartsWith('Windows.10.Amd64'))">00:40:00</HelixTimeout>
<RunQuarantinedTests>false</RunQuarantinedTests>
<IsWindowsHelixQueue>false</IsWindowsHelixQueue>
<IsWindowsHelixQueue Condition="$(HelixTargetQueue.Contains('Windows')) or $(HelixTargetQueue.Contains('windows'))">true</IsWindowsHelixQueue>

View File

@ -165,6 +165,7 @@ namespace Microsoft.AspNetCore.Components.E2ETest.Tests
}
[Fact]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/23757")]
public void PreventDefaultCanBlockKeystrokes()
{
// By default, the textbox accepts keystrokes

View File

@ -185,6 +185,7 @@ namespace Microsoft.AspNetCore.Components.E2ETest.Tests
}
[Fact]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/23757")]
public void InputEvent_RespondsOnKeystrokes_EvenIfUpdatesAreLaggy()
{
// This test doesn't mean much on WebAssembly - it just shows that even if the CPU is locked

View File

@ -125,6 +125,7 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
}
[Fact]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/23756")]
public virtual async Task Publish_IncludesRefAssemblies_WhenCopyRefAssembliesToPublishDirectoryIsSet()
{
using (CreateTestProject())

View File

@ -166,6 +166,7 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
}
[Fact]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/23756")]
[InitializeTestProject("AppWithPackageAndP2PReference", language: "C#", additionalProjects: new[] { "ClassLibrary", "ClassLibrary2" })]
public async Task Clean_Success_RemovesManifestAndCache()
{

View File

@ -81,6 +81,7 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
}
[Fact]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/23756")]
public async Task Publish_WithLinkerAndCompression_IsIncremental()
{
// Arrange

View File

@ -232,6 +232,7 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
}
[Fact]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/23756")]
public async Task Publish_SatelliteAssemblies_AreCopiedToBuildOutput()
{
// Arrange
@ -325,6 +326,7 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
}
[Fact]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/23756")]
public async Task Publish_HostedApp_ProducesBootJsonDataWithExpectedContent()
{
// Arrange

View File

@ -6,6 +6,7 @@ using System.Linq;
using System.Text.Json;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Testing;
using Xunit;
using static Microsoft.AspNetCore.Razor.Design.IntegrationTests.ServiceWorkerAssert;
@ -47,7 +48,7 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
var entries = assets.EnumerateArray().Select(e => e.GetProperty("url").GetString()).OrderBy(e => e).ToArray();
Assert.All(entries, e => expectedExtensions.Contains(Path.GetExtension(e)));
VerifyServiceWorkerFiles(result,
VerifyServiceWorkerFiles(result,
Path.Combine(buildOutputDirectory, "wwwroot"),
serviceWorkerPath: Path.Combine("serviceworkers", "my-service-worker.js"),
serviceWorkerContent: "// This is the development service worker",
@ -110,6 +111,7 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
}
[Fact]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/23756")]
public async Task PublishHostedWithPWA_ProducesAssets()
{
// Arrange

View File

@ -2,6 +2,7 @@
<PropertyGroup>
<HelixTimeout>00:45:00</HelixTimeout>
<HelixTimeout Condition="$(HelixTargetQueue.StartsWith('Windows.10.Amd64'))">01:00:00</HelixTimeout>
</PropertyGroup>
<ItemGroup>