-
Estimated Time: 2 hours
- 30m – Review
SecurityConfigOidcTestclass and error trace in Surefire logs - 30m – Investigate Spring context loading issue under "oidc" profile; verify bean wiring
- 30m – Fix misconfiguration (e.g., missing mock beans, conflicting annotations)
- 30m – Rerun test with OIDC profile, validate full test suite, and push fix
- 30m – Review
| Type |
Bug
|
| Priority |
Normal
|
| Assignee | |
| Version |
none
|
| Sprints |
n/a
|
| Customer |
n/a
|
Issue Votes (0)
Summary
The test class
SecurityConfigOidcTestfails to load the Spring application context under theoidcprofile. This test is currently disabled to allow the rest of the suite to pass.Details
Observed errors:
IllegalStateException: Failed to load ApplicationContextApplicationContext failure threshold exceededThis is likely due to unresolved dependencies in
@WebMvcTestwith theoidcprofile active, or due to incompatible auto-configurations not being excluded.Action Items
@WebMvcTestsetup to avoid loading full config@SpringBootTestif full context is essentialPriority
Low-to-medium – doesn't block current delivery, but should be addressed