Skip to content

Commit

Permalink
update test to check on minimum number of execution rather than range
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan committed Apr 8, 2024
1 parent 56224b9 commit cccb436
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit cccb436

Please sign in to comment.