From 47d610b0ccd4d174b6280e8598f55d887a92321d Mon Sep 17 00:00:00 2001 From: Ryan Brandenburg Date: Tue, 6 Mar 2018 15:21:22 -0800 Subject: [PATCH] Skip Flaky tests --- .../AuthorizationCodeExchangeIntegrationTest.cs | 2 +- test/Service.Core.Test/DefaultSigningCredentialsSourceTest.cs | 2 +- test/Service.Core.Test/JwtAccessTokenIssuerTest.cs | 4 ++-- test/Service.Core.Test/JwtIdTokenIssuerTest.cs | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/Service.Core.Test/AuthorizationCodeExchangeIntegrationTest.cs b/test/Service.Core.Test/AuthorizationCodeExchangeIntegrationTest.cs index 9d6e804e30..a2b4b45590 100644 --- a/test/Service.Core.Test/AuthorizationCodeExchangeIntegrationTest.cs +++ b/test/Service.Core.Test/AuthorizationCodeExchangeIntegrationTest.cs @@ -25,7 +25,7 @@ namespace Microsoft.AspNetCore.Identity.Service { public class AuthorizationCodeExchangeIntegrationTest { - [Fact] + [Fact(Skip = "https://github.com/aspnet/Identity/issues/1630")] public async Task ValidAuthorizationCode_ProducesAccessTokenIdTokenAndRefreshToken() { // Arrange diff --git a/test/Service.Core.Test/DefaultSigningCredentialsSourceTest.cs b/test/Service.Core.Test/DefaultSigningCredentialsSourceTest.cs index 2f7d1cd451..7d5744114c 100644 --- a/test/Service.Core.Test/DefaultSigningCredentialsSourceTest.cs +++ b/test/Service.Core.Test/DefaultSigningCredentialsSourceTest.cs @@ -15,7 +15,7 @@ namespace Microsoft.AspNetCore.Identity.Service { public class DefaultSigningCredentialsSourceTest { - [Fact] + [Fact(Skip="https://github.com/aspnet/Identity/issues/1630")] public async Task GetCredentialsAsync_ReadsCredentialsFromOptions() { // Arrange diff --git a/test/Service.Core.Test/JwtAccessTokenIssuerTest.cs b/test/Service.Core.Test/JwtAccessTokenIssuerTest.cs index d7b7faa0cc..863eb3d338 100644 --- a/test/Service.Core.Test/JwtAccessTokenIssuerTest.cs +++ b/test/Service.Core.Test/JwtAccessTokenIssuerTest.cs @@ -40,7 +40,7 @@ namespace Microsoft.AspNetCore.Identity.Service Assert.Equal($"Missing '{ClaimTypes.NameIdentifier}' claim from the user.", exception.Message); } - [Fact] + [Fact(Skip = "https://github.com/aspnet/Identity/issues/1630")] public async Task JwtAccessTokenIssuer_SignsAccessToken() { // Arrange @@ -101,7 +101,7 @@ namespace Microsoft.AspNetCore.Identity.Service Assert.Equal(new[] { "all" }, tokenScopes); } - [Fact] + [Fact(Skip = "https://github.com/aspnet/Identity/issues/1630")] public async Task JwtAccessTokenIssuer_IncludesAllRequiredData() { // Arrange diff --git a/test/Service.Core.Test/JwtIdTokenIssuerTest.cs b/test/Service.Core.Test/JwtIdTokenIssuerTest.cs index 8a61615fb3..20e4bfd9e7 100644 --- a/test/Service.Core.Test/JwtIdTokenIssuerTest.cs +++ b/test/Service.Core.Test/JwtIdTokenIssuerTest.cs @@ -113,7 +113,7 @@ namespace Microsoft.AspNetCore.Identity.Service Assert.Equal(expectedDateTime.UtcDateTime, jwtToken.ValidFrom); } - [Theory] + [Theory(Skip="https://github.com/aspnet/Identity/issues/1630")] [InlineData(null, null, null)] [InlineData("nonce", null, null)] [InlineData("nonce", "code", null)] @@ -209,7 +209,7 @@ namespace Microsoft.AspNetCore.Identity.Service new Claim(IdentityServiceClaimTypes.RedirectUri,"redirectUri"), }; - [Fact] + [Fact(Skip = "https://github.com/aspnet/Identity/issues/1630")] public async Task JwtIdTokenIssuer_IncludesAllRequiredData() { // Arrange