-
Notifications
You must be signed in to change notification settings - Fork 40.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make use of NoOpTaskScheduler to disable task scheduling in tests #38954
Comments
Hey, I'd like to start working on this enhancement. Would you be able to assign it to me @wilkinsona? |
Thanks for the offer, @breader124, but I don't think we know how we want to implement this one yet. Unfortunately, other higher priority work means that we don't have the cycles to figure that out right now. If you have some time to sketch out some ideas when that would be great, but please be aware that it may be wasted effort if we decide to take a different direction. |
I'm happy to help. I'll try to think about possible solutions and will post them here to review when I'm ready |
@wilkinsona, I did some investigation and it seems that a reasonable solution would be to introduce
I also propose to leave the creation of all beans of How does it sound to you? Do you see more aspects to consider? |
Hey @philwebb, is there any news on the topic? |
@breader124 We discussed the issue and would like to do something in 3.4. We can't really start work on it until 3.3 is out. |
A
NoOpTaskScheduler
has been added to Spring Framework. We should look at how we can use it to disable scheduled tasks in integration tests (and perhaps at runtime as well) probably via some opt-in mechanism.The text was updated successfully, but these errors were encountered: