spring-framework
spring-framework copied to clipboard
Spring Framework
I stumbled upon https://github.com/spring-projects/spring-framework/issues/34264 which caused some bigger issues internally because some server side connection resets resulted in a 200 successful response. While the biggest issue was solved I think...
related issue: [Make @Sql work with R2DBC where no DataSource available #33531](https://github.com/spring-projects/spring-framework/issues/33531) ### Motivation: On #33531, We found that Sql annotation could not be used if there was no datasource....
Currently, there is no way to request a few mocks, provide answers (to share common setups), and automatically inject these mocks where needed. @MockitoBean should have a property called _answer_,...
This issue is related to #34535 and #34298. `Converter>> { @Override public List> convert(String source) { return List.of(Map.of("bar", source)); } } // Using this version of the converter also results...
In the snippet below, the `ServiceB` `MockBean` is not reset between `firstTest` and `secondTest`, but it should be. This causes `secondTest` to fail on `verify(serviceB).bar();`, as there are 2 invocations...
When it's available https://github.com/skyscreamer/JSONassert/releases
Up until spring-boot 3.3.8, an escaped backslash followed by a placeholder like: ```properties prop1=value1 prop2=value2\\${prop1} ``` Resulted in prop2 resolving to: ``` value2\value1 ``` Starting with spring-boot 3.4.0, the result...
I find myself needing to customize the `ContextCache` so that I can run tests in parallel JUnit. Yes can be done with `@BootstrapWith`, but it is quite burdensome to have...
`ResponseBodyEmitter` relies on synchronization to protect against concurrent use of the response, and also for the caching of early messages (e.g. before the emitter is returned from the controller method)...
As discussed in #27229, this issue intends to add support to batch operations support to R2DBC `DatabaseClient`. The starting point is `bind(params -> …)` as proposed in [this comment](https://github.com/spring-projects/spring-framework/pull/27229#issuecomment-2443636886) of...