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

MongoDB should use EmbedMongo in tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.15.0
    • camel-mongodb
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: