Disable some flaky tests on MacOS

This commit is contained in:
ta264 2019-11-02 14:48:54 +00:00 committed by Qstick
parent fc5e2b63e0
commit 92334d237a
3 changed files with 5 additions and 1 deletions

View File

@ -84,6 +84,7 @@ namespace NzbDrone.Common.Test.CacheTests
}
[Test]
[Platform(Exclude="MacOsX")]
public void should_honor_ttl()
{
int hitCount = 0;
@ -105,6 +106,7 @@ namespace NzbDrone.Common.Test.CacheTests
[Test]
[Retry(3)]
[Platform(Exclude="MacOsX")]
public void should_clear_expired_when_they_expire()
{
int hitCount = 0;

View File

@ -7,6 +7,7 @@ using NzbDrone.Common.TPL;
namespace NzbDrone.Common.Test.TPLTests
{
[TestFixture]
[Platform(Exclude="MacOsX")]
public class DebouncerFixture
{
public class Counter
@ -126,4 +127,4 @@ namespace NzbDrone.Common.Test.TPLTests
counter.Count.Should().Be(1);
}
}
}
}

View File

@ -10,6 +10,7 @@ using FluentAssertions;
namespace NzbDrone.Common.Test.TPLTests
{
[TestFixture]
[Platform(Exclude="MacOsX")]
public class RateLimitServiceFixture : TestBase<RateLimitService>
{
private DateTime _epoch;