Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix intermittent time-based failure in delayed sidekiq spec
This example was previously failing when it was run at exactly an "even" 10 second increment time. For example, it would fail at "12:00:10", but pass at "12:00:09" and "12:00:11". This leads to intermittent failures on CI (presumably around ~10% of runs). Updated to use a helper method in the spec which more closely mirrors the scheduler code.
- Loading branch information