Add initial tests for server
Daskott opened this issue · comments
Edmond Cotterell commented
Start with probeScheduler
TODO:
--test
mode should usein:memory
db for test- Test that
ScheduleProbes
:- Loads crons for probes where users have their probe_settings set to active
- Loads crons for probe followups i.e.
ENQUEUE_FOLLOWUP_PROBES_HANDLER
- Test that the probes are executed when they are suppose to be ?
- Perhaps this should not be a
probeScheduler
test, but awokerPool
test ?
- Perhaps this should not be a