Quarantine flaky tests (#20261)

This commit is contained in:
Brennan 2020-03-28 11:03:12 -07:00 committed by GitHub
parent 796cf9649b
commit a421a31095
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View File

@ -6,6 +6,7 @@ using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Testing;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Templates.Test.Helpers;
@ -70,6 +71,7 @@ namespace Templates.Test
[Theory]
[MemberData(nameof(TemplateBaselines))]
[QuarantinedTest]
public async Task Template_Produces_The_Right_Set_Of_FilesAsync(string arguments, string[] expectedFiles)
{
Project = await ProjectFactory.GetOrCreateProject("baseline" + SanitizeArgs(arguments), Output);

View File

@ -24,7 +24,7 @@ namespace Templates.Test
public Project Project { get; private set; }
[ConditionalFact]
[ConditionalFact(Skip = "This test ran for over an hour")]
[SkipOnHelix("selenium")]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/20172")]
public async Task BlazorServerTemplateWorks_NoAuth()

View File

@ -23,7 +23,7 @@ namespace Templates.Test
public ITestOutputHelper Output { get; }
[ConditionalFact]
[ConditionalFact(Skip = "This test ran for over an hour")]
[SkipOnHelix("Cert failures", Queues = "OSX.1014.Amd64;OSX.1014.Amd64.Open")]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/20162")]
public async Task EmptyWebTemplateCSharp()