components-contrib/tests/certification/bindings/cron
Mukundan Sundararajan bc63181106 drop replace for dapr runtime in cert tests
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-12-21 20:57:44 +05:30
..
components Add certification tests for Cron Binding (#2191) 2022-12-02 02:30:01 -08:00
components_sameroute Add certification tests for Cron Binding (#2191) 2022-12-02 02:30:01 -08:00
README.md Add certification tests for Cron Binding (#2191) 2022-12-02 02:30:01 -08:00
config.yaml Add certification tests for Cron Binding (#2191) 2022-12-02 02:30:01 -08:00
cron_test.go fix flaky tests (#2338) 2022-12-03 13:59:42 -08:00
go.mod drop replace for dapr runtime in cert tests 2022-12-21 20:57:44 +05:30
go.sum drop replace for dapr runtime in cert tests 2022-12-21 20:57:44 +05:30

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 1s should 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 format 0 0 */6 ?* * and macro format @every 3s

  • Test cron triggers having same route

Check if two cron triggers having different schedules of @every 1s and @every 3s respectively and having same app route /cron should 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.