Spring security updates#15609
Conversation
|
I added the ability to skip forcing all tasks to run as part of this PR, i.e. This will run all tests but use the cached versions of other tasks. |
|
@jamesfredley @matrei looks like all of the spring security tests are working in 8.0.x again so I think we can merge. |
|
No, the suggestion isn’t fully correct — using ?.toBoolean() results in null when the environment variable is unset, which will cause a runtime error in boolean expressions like !doNotCacheTests, whereas the current 'as Boolean' cast safely defaults to false. |
If the variable is typed as boolean, null will be coerced to false. Using toBoolean() will properly parse input values: '1', 'true', 'y' etc. to true. |
✅ All tests passed ✅🏷️ Commit: 921e8e1 Learn more about TestLens at testlens.app. |
Spring Boot 4.x compatible Spring Security