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 2023/06/15 15:38:00 UTC

[jira] [Commented] (OAK-10308) Tests using MongoUtils may skip even if Docker is available

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

Marcel Reutegger commented on OAK-10308:
----------------------------------------

Proposed changes: https://github.com/apache/jackrabbit-oak/pull/990

> Tests using MongoUtils may skip even if Docker is available
> -----------------------------------------------------------
>
>                 Key: OAK-10308
>                 URL: https://issues.apache.org/jira/browse/OAK-10308
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: documentmk, mongomk
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>
> MongoUtil first tries to connect to an already running MongoDB on the default port and then tries to start MongoDB in docker. The latter may fail even when docker is available and MongoDB is started successfully.
> The host for the constructed connection URI is hardcoded to 'localhost', which may not work when docker exposed MongoDB on 127.0.0.1:<port>



--
This message was sent by Atlassian Jira
(v8.20.10#820010)