Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8016

MongoDB should use EmbedMongo in tests

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.15.0
    • Component/s: camel-mongodb
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      I refactored the MongoDB test code to use EmbedMongo (1). Skipping all tests when there is no MongoDB server available was like having no tests at all .

      EmbedMonbgo starts real MongoDB process on the random free port and keeps it running for the time of the tests.

      (1) https://github.com/flapdoodle-oss/de.flapdoodle.embed.mongo

        Attachments

          Activity

            People

            • Assignee:
              hekonsek Henryk Konsek
              Reporter:
              hekonsek Henryk Konsek
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: