BAEL-7544: Disable enable scheduling on spring tests (#16125)

* BEAL-7544: Add examples showing how to disable scheduled tasks for testing

* BEAL-7544: Get rid of final keywords

* BEAL-7544: Add the config and test showing the case when the scheduling is simply turned on

* BEAL-7544: Introduce amendments after review

- add initialDelayString param to the scheduled annotation on the tested method
- delete unnecessary unit test

* BEAL-7544: Move code to new module
This commit is contained in:
Adrian Chlebosz
2024-04-11 01:50:10 +02:00
committed by GitHub
parent 4394e828c1
commit af3a000b1e
16 changed files with 529 additions and 0 deletions
+2
View File
@@ -826,6 +826,7 @@
<module>spring-reactive-modules</module>
<module>spring-remoting-modules</module> <!-- Upgrade to Boot 3 not possible as since Spring 6 the remoting modules has been removed from Spring. -->
<module>spring-scheduling</module>
<module>spring-scheduling-2</module>
<module>spring-security-modules</module>
<module>spring-shell</module>
<module>spring-soap</module>
@@ -1074,6 +1075,7 @@
<module>spring-reactive-modules</module>
<module>spring-remoting-modules</module> <!-- Upgrade to Boot 3 not possible as since Spring 6 the remoting modules has been removed from Spring. -->
<module>spring-scheduling</module>
<module>spring-scheduling-2</module>
<module>spring-security-modules</module>
<module>spring-shell</module>
<module>spring-soap</module>