From 0236f6595bef49db0d5b61f45bdf02449cee5da1 Mon Sep 17 00:00:00 2001 From: Taloth Saldono Date: Wed, 27 Sep 2017 22:25:26 +0200 Subject: [PATCH] Fixed flakey test. --- .../FixFutureDownloadClientStatusTimesFixture.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/NzbDrone.Core.Test/Housekeeping/Housekeepers/FixFutureDownloadClientStatusTimesFixture.cs b/src/NzbDrone.Core.Test/Housekeeping/Housekeepers/FixFutureDownloadClientStatusTimesFixture.cs index 96c3f0676..de3251c76 100644 --- a/src/NzbDrone.Core.Test/Housekeeping/Housekeepers/FixFutureDownloadClientStatusTimesFixture.cs +++ b/src/NzbDrone.Core.Test/Housekeeping/Housekeepers/FixFutureDownloadClientStatusTimesFixture.cs @@ -60,7 +60,7 @@ namespace NzbDrone.Core.Test.Housekeeping.Housekeepers Mocker.GetMock() .Verify(v => v.UpdateMany( It.Is>(i => i.All( - s => s.InitialFailure.Value < DateTime.UtcNow)) + s => s.InitialFailure.Value <= DateTime.UtcNow)) ) ); } @@ -85,7 +85,7 @@ namespace NzbDrone.Core.Test.Housekeeping.Housekeepers Mocker.GetMock() .Verify(v => v.UpdateMany( It.Is>(i => i.All( - s => s.MostRecentFailure.Value < DateTime.UtcNow)) + s => s.MostRecentFailure.Value <= DateTime.UtcNow)) ) ); } @@ -116,4 +116,4 @@ namespace NzbDrone.Core.Test.Housekeeping.Housekeepers } -} \ No newline at end of file +}