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:35:00 UTC
[jira] [Created] (OAK-10308) Tests using MongoUtils may skip even if Docker is available
Marcel Reutegger created OAK-10308:
--------------------------------------
Summary: 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
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)