You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2018/09/11 11:56:00 UTC

[jira] [Commented] (OAK-7732) Use docker for MongoDB based tests when available

    [ https://issues.apache.org/jira/browse/OAK-7732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16610489#comment-16610489 ] 

Marcel Reutegger commented on OAK-7732:
---------------------------------------

Added docker-junit-rule dependency to oak-parent/pom.xml and manage the version there: http://svn.apache.org/r1840543

Added docker-junit-rule test dependency to modules that use oak-store-document for tests: http://svn.apache.org/r1840544

Finally, try fallback to local docker if configured MongoDB (default: localhost:27017) is not available. The default build will still succeed if there is neither a configured MongoDB available nor docker installed on the build machine.

> Use docker for MongoDB based tests when available
> -------------------------------------------------
>
>                 Key: OAK-7732
>                 URL: https://issues.apache.org/jira/browse/OAK-7732
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: documentmk, mongomk
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.10
>
>
> Oak has a number of modules that depend on external services like AWS, Azure or MongoDB. To runs DocumentNodeStore tests on MongoDB build jobs have been setup on travis-ci, but ideally those tests should also run on the Apache build infrastructure (builds.apache.org). The slave nodes (maybe not all of them) have docker installed, which could be used to provision MongoDB for the tests.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)