Skip to content

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

Closed
@sbrannen

Description

@sbrannen

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.

Metadata

Metadata

Assignees

Labels

in: testIssues in the test moduletype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions