Disable some flaky tests on MacOS

pull/1689/head
ta264 5 years ago committed by Qstick
parent fc5e2b63e0
commit 92334d237a

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

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

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

Loading…
Cancel
Save