diff --git a/src/Hosting/Hosting/test/ClickView.Extensions.Hosting.Tests/SchedulerWorkerTests.cs b/src/Hosting/Hosting/test/ClickView.Extensions.Hosting.Tests/SchedulerWorkerTests.cs index 14e1bbf..422615b 100644 --- a/src/Hosting/Hosting/test/ClickView.Extensions.Hosting.Tests/SchedulerWorkerTests.cs +++ b/src/Hosting/Hosting/test/ClickView.Extensions.Hosting.Tests/SchedulerWorkerTests.cs @@ -20,7 +20,7 @@ public async Task RunAsync_RunEveryTwoSeconds() await scheduler.StopAsync(CancellationToken.None); - Assert.InRange(scheduler.Counter, 2, 3); + Assert.True(scheduler.Counter >= 2); scheduler.Dispose(); }