skip flaky attribute tests, they're just too annoying (dotnet/extensions#1476)

\n\nCommit migrated from 97bd314988
This commit is contained in:
Andrew Stanton-Nurse 2019-04-19 10:19:59 -07:00 committed by GitHub
parent f86f24b50a
commit 188c45965a
1 changed files with 8 additions and 8 deletions

View File

@ -7,7 +7,7 @@ namespace Microsoft.AspNetCore.Testing.Tests
{
public class FlakyAttributeTest
{
[Fact]
[Fact(Skip = "These tests are nice when you need them but annoying when on all the time.")]
[Flaky("http://example.com", FlakyOn.All)]
public void AlwaysFlakyInCI()
{
@ -17,7 +17,7 @@ namespace Microsoft.AspNetCore.Testing.Tests
}
}
[Fact]
[Fact(Skip = "These tests are nice when you need them but annoying when on all the time.")]
[Flaky("http://example.com", FlakyOn.Helix.All)]
public void FlakyInHelixOnly()
{
@ -27,7 +27,7 @@ namespace Microsoft.AspNetCore.Testing.Tests
}
}
[Fact]
[Fact(Skip = "These tests are nice when you need them but annoying when on all the time.")]
[Flaky("http://example.com", FlakyOn.Helix.macOS1012Amd64, FlakyOn.Helix.Fedora28Amd64)]
public void FlakyInSpecificHelixQueue()
{
@ -43,7 +43,7 @@ namespace Microsoft.AspNetCore.Testing.Tests
}
}
[Fact]
[Fact(Skip = "These tests are nice when you need them but annoying when on all the time.")]
[Flaky("http://example.com", FlakyOn.AzP.All)]
public void FlakyInAzPOnly()
{
@ -53,7 +53,7 @@ namespace Microsoft.AspNetCore.Testing.Tests
}
}
[Fact]
[Fact(Skip = "These tests are nice when you need them but annoying when on all the time.")]
[Flaky("http://example.com", FlakyOn.AzP.Windows)]
public void FlakyInAzPWindowsOnly()
{
@ -63,7 +63,7 @@ namespace Microsoft.AspNetCore.Testing.Tests
}
}
[Fact]
[Fact(Skip = "These tests are nice when you need them but annoying when on all the time.")]
[Flaky("http://example.com", FlakyOn.AzP.macOS)]
public void FlakyInAzPmacOSOnly()
{
@ -73,7 +73,7 @@ namespace Microsoft.AspNetCore.Testing.Tests
}
}
[Fact]
[Fact(Skip = "These tests are nice when you need them but annoying when on all the time.")]
[Flaky("http://example.com", FlakyOn.AzP.Linux)]
public void FlakyInAzPLinuxOnly()
{
@ -83,7 +83,7 @@ namespace Microsoft.AspNetCore.Testing.Tests
}
}
[Fact]
[Fact(Skip = "These tests are nice when you need them but annoying when on all the time.")]
[Flaky("http://example.com", FlakyOn.AzP.Linux, FlakyOn.AzP.macOS)]
public void FlakyInAzPNonWindowsOnly()
{