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

tzulitai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git

commit ec762a7413c3f94470ee13d57edc47350feb1569
Author: Tzu-Li (Gordon) Tai <tzuli...@apache.org>
AuthorDate: Thu Feb 25 13:11:37 2021 +0800

    [FLINK-21496] [e2e] Upgrade Testcontainers to 1.15.2
---
 statefun-e2e-tests/pom.xml                                |  4 ++++
 statefun-e2e-tests/statefun-e2e-tests-common/pom.xml      | 15 ++++++++++++++-
 .../statefun-exactly-once-remote-e2e/pom.xml              |  1 -
 statefun-e2e-tests/statefun-sanity-e2e/pom.xml            |  4 ----
 statefun-e2e-tests/statefun-smoke-e2e/pom.xml             |  8 +++++++-
 5 files changed, 25 insertions(+), 7 deletions(-)

diff --git a/statefun-e2e-tests/pom.xml b/statefun-e2e-tests/pom.xml
index e38a954..94a8994 100644
--- a/statefun-e2e-tests/pom.xml
+++ b/statefun-e2e-tests/pom.xml
@@ -28,6 +28,10 @@ under the License.
     <artifactId>statefun-e2e-tests</artifactId>
     <packaging>pom</packaging>
 
+    <properties>
+        <testcontainers.version>1.15.2</testcontainers.version>
+    </properties>
+
     <modules>
         <module>statefun-e2e-tests-common</module>
         <module>statefun-sanity-e2e</module>
diff --git a/statefun-e2e-tests/statefun-e2e-tests-common/pom.xml 
b/statefun-e2e-tests/statefun-e2e-tests-common/pom.xml
index 3fed811..5510f92 100644
--- a/statefun-e2e-tests/statefun-e2e-tests-common/pom.xml
+++ b/statefun-e2e-tests/statefun-e2e-tests-common/pom.xml
@@ -28,7 +28,6 @@ under the License.
     <artifactId>statefun-e2e-tests-common</artifactId>
 
     <properties>
-        <testcontainers.version>1.12.5</testcontainers.version>
         <kafka.version>2.4.1</kafka.version>
     </properties>
 
@@ -67,10 +66,24 @@ under the License.
                     <groupId>com.kohlschutter.junixsocket</groupId>
                     <artifactId>junixsocket-common</artifactId>
                 </exclusion>
+                <!--
+                    This dependency leads to a version convergence error 
caused solely by Testcontainers.
+                    See 
https://github.com/testcontainers/testcontainers-java/issues/3308.
+                -->
+                <exclusion>
+                    <groupId>net.java.dev.jna</groupId>
+                    <artifactId>jna</artifactId>
+                </exclusion>
             </exclusions>
         </dependency>
 
         <dependency>
+            <groupId>net.java.dev.jna</groupId>
+            <artifactId>jna</artifactId>
+            <version>5.5.0</version>
+        </dependency>
+
+        <dependency>
             <groupId>com.kohlschutter.junixsocket</groupId>
             <artifactId>junixsocket-common</artifactId>
             <version>${unixsocket.version}</version>
diff --git a/statefun-e2e-tests/statefun-exactly-once-remote-e2e/pom.xml 
b/statefun-e2e-tests/statefun-exactly-once-remote-e2e/pom.xml
index f8b4dcf..0909b16 100644
--- a/statefun-e2e-tests/statefun-exactly-once-remote-e2e/pom.xml
+++ b/statefun-e2e-tests/statefun-exactly-once-remote-e2e/pom.xml
@@ -28,7 +28,6 @@ under the License.
     <artifactId>statefun-exactly-once-remote-e2e</artifactId>
 
     <properties>
-        <testcontainers.version>1.12.5</testcontainers.version>
         <kafka.version>2.2.0</kafka.version>
     </properties>
 
diff --git a/statefun-e2e-tests/statefun-sanity-e2e/pom.xml 
b/statefun-e2e-tests/statefun-sanity-e2e/pom.xml
index f2ac99a..02f1486 100644
--- a/statefun-e2e-tests/statefun-sanity-e2e/pom.xml
+++ b/statefun-e2e-tests/statefun-sanity-e2e/pom.xml
@@ -27,10 +27,6 @@ under the License.
 
     <artifactId>statefun-sanity-e2e</artifactId>
 
-    <properties>
-        <testcontainers.version>1.12.5</testcontainers.version>
-    </properties>
-
     <dependencies>
         <!-- Stateful Functions -->
         <dependency>
diff --git a/statefun-e2e-tests/statefun-smoke-e2e/pom.xml 
b/statefun-e2e-tests/statefun-smoke-e2e/pom.xml
index 26318c2..126cf5c 100644
--- a/statefun-e2e-tests/statefun-smoke-e2e/pom.xml
+++ b/statefun-e2e-tests/statefun-smoke-e2e/pom.xml
@@ -28,7 +28,6 @@ under the License.
     <artifactId>statefun-smoke-e2e</artifactId>
 
     <properties>
-        <testcontainers.version>1.12.5</testcontainers.version>
         <commons-math3.version>3.5</commons-math3.version>
         
<additional-sources.dir>target/additional-sources</additional-sources.dir>
     </properties>
@@ -133,6 +132,13 @@ under the License.
             <artifactId>statefun-flink-harness</artifactId>
             <version>${project.version}</version>
             <scope>test</scope>
+            <exclusions>
+                <!-- conflicts with testcontainers -->
+                <exclusion>
+                    <groupId>com.fasterxml.jackson.core</groupId>
+                    <artifactId>jackson-annotations</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
     </dependencies>
 

Reply via email to