You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Henryk Konsek (JIRA)" <ji...@apache.org> on 2014/11/07 21:17:37 UTC

[jira] [Created] (CAMEL-8016) MongoDB should use EmbedMongo in tests

Henryk Konsek created CAMEL-8016:
------------------------------------

             Summary: MongoDB should use EmbedMongo in tests
                 Key: CAMEL-8016
                 URL: https://issues.apache.org/jira/browse/CAMEL-8016
             Project: Camel
          Issue Type: Improvement
          Components: camel-mongodb
            Reporter: Henryk Konsek
            Assignee: Henryk Konsek
             Fix For: 2.15.0


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)