This is an automated email from the ASF dual-hosted git repository. reschke pushed a commit to branch 1.22 in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
The following commit(s) were added to refs/heads/1.22 by this push: new 994b19bc3a OAK-8885: Test failure: NPE in MongoFixture.createDocumentStore() 994b19bc3a is described below commit 994b19bc3aa1ce1026ef2f0b62ebfec37b0564d8 Author: Marcel Reutegger <mreut...@apache.org> AuthorDate: Mon Feb 3 08:26:44 2020 +0000 OAK-8885: Test failure: NPE in MongoFixture.createDocumentStore() Make MongoDB container name unique per test run git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1873521 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/jackrabbit/oak/plugins/document/mongo/MongoDockerRule.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoDockerRule.java b/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoDockerRule.java index f8fb550e7f..3339b6f6c5 100644 --- a/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoDockerRule.java +++ b/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoDockerRule.java @@ -16,6 +16,8 @@ */ package org.apache.jackrabbit.oak.plugins.document.mongo; +import java.util.UUID; + import com.arakelian.docker.junit.DockerRule; import com.arakelian.docker.junit.model.ImmutableDockerConfig; import com.spotify.docker.client.DefaultDockerClient; @@ -32,7 +34,7 @@ public class MongoDockerRule extends DockerRule { private static final Logger LOG = LoggerFactory.getLogger(MongoDockerRule.class); - private static final String CONFIG_NAME = "MongoDB"; + private static final String CONFIG_NAME = "MongoDB-" + UUID.randomUUID().toString().substring(0, 8); private static final String VERSION = System.getProperty("mongo.version", "3.6");