camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henryk Konsek (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-8016) MongoDB should use EmbedMongo in tests
Date Fri, 07 Nov 2014 20:17:37 GMT
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)

Mime
View raw message