Details
-
Bug
-
Resolution: Works as Designed
-
Unknown
-
None
-
None
-
None
-
None
Description
Summary
The database cannot be dropped via mongodb-driver-core 4.9.1 and reactor-bom 2022.0.8 (and before) while it works with reactor-bom 2020.0.x. The subscription's methods are not called and the database is not dropped.
It works fine with any version of reactor-bom 2020 like the current one 2020.0.33.
Tested via Spring Boot 3.1.1, Testcontainers 1.18.3, Java 20.0.1, MongoDB container "mongo:6.0" (= should be standalone).
How to Reproduce
Example project: github demo project
You can switch the reactor-bom version via enabling a property overriding the version defined by Spring.
2022.0.x will run into a timeout via Awaitility.
2020.0.x will succeed in dropping the database. The test will succeed.
Additional Background
-