We disable the quartz scheduler locally by commenting out the scheduler factory bean in the jobs.xml
file.
Is there a setting for doing something similar in the quartz.properties
file?
The simplest way I've found in a spring boot context for tests is to simply:
@MockBean
Scheduler scheduler;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With