You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by cg...@apache.org on 2021/10/31 13:55:28 UTC

[drill] branch master updated: DRILL-8024: Bump Mongo client and Testcontainers version to latest (#2356)

This is an automated email from the ASF dual-hosted git repository.

cgivre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drill.git


The following commit(s) were added to refs/heads/master by this push:
     new 1ce04d8  DRILL-8024: Bump Mongo client and Testcontainers version to latest (#2356)
1ce04d8 is described below

commit 1ce04d86ad9d98700689907ebd61f2e94e76055e
Author: luoc <lu...@apache.org>
AuthorDate: Sun Oct 31 21:55:18 2021 +0800

    DRILL-8024: Bump Mongo client and Testcontainers version to latest (#2356)
---
 contrib/storage-mongo/pom.xml                                     | 2 +-
 .../java/org/apache/drill/exec/store/mongo/MongoTestSuite.java    | 8 ++++----
 pom.xml                                                           | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/contrib/storage-mongo/pom.xml b/contrib/storage-mongo/pom.xml
index 90a9a0e..93d7ad3 100644
--- a/contrib/storage-mongo/pom.xml
+++ b/contrib/storage-mongo/pom.xml
@@ -45,7 +45,7 @@
   <dependency>
     <groupId>org.mongodb</groupId>
     <artifactId>mongodb-driver-sync</artifactId>
-    <version>4.3.1</version>
+    <version>4.3.3</version>
   </dependency>
 
     <!-- Test dependency -->
diff --git a/contrib/storage-mongo/src/test/java/org/apache/drill/exec/store/mongo/MongoTestSuite.java b/contrib/storage-mongo/src/test/java/org/apache/drill/exec/store/mongo/MongoTestSuite.java
index fe7af6e..460b1b7 100644
--- a/contrib/storage-mongo/src/test/java/org/apache/drill/exec/store/mongo/MongoTestSuite.java
+++ b/contrib/storage-mongo/src/test/java/org/apache/drill/exec/store/mongo/MongoTestSuite.java
@@ -96,7 +96,7 @@ public class MongoTestSuite extends BaseTest implements MongoTestConstants {
   }
 
   private static GenericContainer<?> newContainer(Network network, String host) {
-    GenericContainer<?> container = new GenericContainer<>("mongo:4.4.5")
+    GenericContainer<?> container = new GenericContainer<>("mongo:4.4.10")
         .withNetwork(network)
         .withNetworkAliases(host)
         .withExposedPorts(MONGOS_PORT)
@@ -115,7 +115,7 @@ public class MongoTestSuite extends BaseTest implements MongoTestConstants {
           .collect(Collectors.toList());
 
       String configServerHost = "m4";
-      GenericContainer<?> configServer = new GenericContainer<>("mongo:4.4.5")
+      GenericContainer<?> configServer = new GenericContainer<>("mongo:4.4.10")
           .withNetwork(network)
           .withNetworkAliases(configServerHost)
           .withExposedPorts(MONGOS_PORT)
@@ -129,7 +129,7 @@ public class MongoTestSuite extends BaseTest implements MongoTestConstants {
       logger.info(execResult.toString());
 
       String mongosHost = "m5";
-      GenericContainer<?> mongos = new GenericContainer<>("mongo:4.4.5")
+      GenericContainer<?> mongos = new GenericContainer<>("mongo:4.4.10")
           .withNetwork(network)
           .withNetworkAliases(mongosHost)
           .withExposedPorts(MONGOS_PORT)
@@ -192,7 +192,7 @@ public class MongoTestSuite extends BaseTest implements MongoTestConstants {
 
     @Override
     public String setup() throws IOException {
-      mongoContainers = Collections.singletonList(new GenericContainer<>("mongo:4.4.5")
+      mongoContainers = Collections.singletonList(new GenericContainer<>("mongo:4.4.10")
           .withNetwork(Network.SHARED)
           .withNetworkAliases("M1")
           .withExposedPorts(MONGOS_PORT)
diff --git a/pom.xml b/pom.xml
index 7a7b3eb..1ea05c8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -124,7 +124,7 @@
     <commons.cli.version>1.4</commons.cli.version>
     <snakeyaml.version>1.26</snakeyaml.version>
     <commons.lang3.version>3.10</commons.lang3.version>
-    <testcontainers.version>1.15.3</testcontainers.version>
+    <testcontainers.version>1.16.2</testcontainers.version>
     <typesafe.config.version>1.0.0</typesafe.config.version>
     <commons.codec.version>1.14</commons.codec.version>
     <metadata.extractor.version>2.13.0</metadata.extractor.version>