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)