Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| components | ||
| components_sameroute | ||
| README.md | ||
| config.yaml | ||
| cron_test.go | ||
| go.mod | ||
| go.sum | ||
README.md
Cron certification testing
This project aims to test the cron component under various conditions.
Test plan
- Test cron triggers with different schedules and written in different cron formats within deadline limits
Example: a cron trigger with a schedule
@every 1sshould trigger 10 times in the next 10 seconds
Test cron triggers with schedule written in the standard crontab format*/15 * * * *, non-standard format*/3 * * * * *, quartz format0 0 */6 ?* *and macro format@every 3s
- Test cron triggers having same route
Check if two cron triggers having different schedules of
@every 1sand@every 3srespectively and having same app route/cronshould both trigger the app correctly
- Test cron trigger on app restart
Check if cron will still trigger the app in case the app listening to cron trigger crashes and restarts
- Test cron trigger on sidecar restart
Check if the app is still triggered by cron in case of dapr sidecar restart.