From 00aa806226be26b6f53eaac432b91074c72cc3fc Mon Sep 17 00:00:00 2001 From: Hao Kung Date: Tue, 16 Apr 2019 14:07:36 -0700 Subject: [PATCH] Mark EmailFactor test as flaky (#9123) --- .../Microsoft.AspNetCore.Identity.Specification.Tests.csproj | 1 + .../Specification.Tests/src/UserManagerSpecificationTests.cs | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/Identity/Specification.Tests/src/Microsoft.AspNetCore.Identity.Specification.Tests.csproj b/src/Identity/Specification.Tests/src/Microsoft.AspNetCore.Identity.Specification.Tests.csproj index e219472999..bb443edec0 100644 --- a/src/Identity/Specification.Tests/src/Microsoft.AspNetCore.Identity.Specification.Tests.csproj +++ b/src/Identity/Specification.Tests/src/Microsoft.AspNetCore.Identity.Specification.Tests.csproj @@ -12,6 +12,7 @@ + diff --git a/src/Identity/Specification.Tests/src/UserManagerSpecificationTests.cs b/src/Identity/Specification.Tests/src/UserManagerSpecificationTests.cs index bef1c3f047..9774ea5677 100644 --- a/src/Identity/Specification.Tests/src/UserManagerSpecificationTests.cs +++ b/src/Identity/Specification.Tests/src/UserManagerSpecificationTests.cs @@ -8,6 +8,8 @@ using System.Linq.Expressions; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Testing; +using Microsoft.AspNetCore.Testing.xunit; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Xunit; @@ -1833,6 +1835,7 @@ namespace Microsoft.AspNetCore.Identity.Test /// /// Task [Fact] + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/1766", FlakyOn.All)] public async Task EmailFactorFailsAfterSecurityStampChangeTest() { if (ShouldSkipDbTests())