Database not being dropped using reactor-bom 2022

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      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

      -

            Assignee:
            Ross Lawley
            Reporter:
            Christoph Ahlers
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: