Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for using mock clock in cron #473

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

sarsharma
Copy link

This PR uses https://github.com/benbjohnson/clock to mock the time.
Adding support for using mock clock with cron will be helpful to write test cases and verify cron behaviour.

Similar to this PR #327 but uses a more up to date mock clock

PR also contains fix for flaky unit tests on windows and minor linting fixes

Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>
Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>
Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>
Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant