Skip to content
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

Test context cache stats are not logged when ApplicationContext fails to load #30635

Closed
sbrannen opened this issue Jun 11, 2023 · 0 comments
Closed
Assignees
Labels
in: test Issues in the test module type: bug A general bug
Milestone

Comments

@sbrannen
Copy link
Member

While debugging tests for #14182, I noticed that DefaultCacheAwareContextLoaderDelegate does not log cache statistics if an ApplicationContext fails to load.

This can be easily addressed by logging the statistics in a try-finally block.

@sbrannen sbrannen added in: test Issues in the test module type: bug A general bug labels Jun 11, 2023
@sbrannen sbrannen added this to the 6.0.10 milestone Jun 11, 2023
@sbrannen sbrannen self-assigned this Jun 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: test Issues in the test module type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant