skip flaky SecureDataFormatTest in Helix (#8129)

related #7366
This commit is contained in:
Andrew Stanton-Nurse 2019-03-04 07:50:53 -08:00 committed by GitHub
parent 83cb05d83c
commit 7b24304739
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -29,6 +29,10 @@
<EmbeddedResource Include="OpenIdConnect\wellknownkeys.json" />
</ItemGroup>
<ItemGroup>
<Compile Include="$(SharedSourceRoot)test\SkipOnHelixAttribute.cs" />
</ItemGroup>
<ItemGroup>
<Reference Include="Microsoft.AspNetCore.Authentication.Cookies" />
<Reference Include="Microsoft.AspNetCore.Authentication.Facebook" />

View File

@ -4,6 +4,7 @@
using System;
using System.Text;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.AspNetCore.Testing.xunit;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
@ -48,6 +49,7 @@ namespace Microsoft.AspNetCore.Authentication.DataHandler
}
[Fact]
[SkipOnHelix]
public void UnprotectWithDifferentPurposeFails()
{
var provider = ServiceProvider.GetRequiredService<IDataProtectionProvider>();