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

gyfora pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-kubernetes-operator.git


The following commit(s) were added to refs/heads/main by this push:
     new 163497ac [FLINK-40375] Fix kube-apiserver and mock-server tests 
silently skipped (#1177)
163497ac is described below

commit 163497ac460f76554a99ec5170e88cddb8a2b494
Author: Purushottam Sinha <[email protected]>
AuthorDate: Thu Aug 13 13:31:38 2026 +0530

    [FLINK-40375] Fix kube-apiserver and mock-server tests silently skipped 
(#1177)
---
 .../src/main/resources/META-INF/NOTICE                   |  2 +-
 flink-kubernetes-standalone/pom.xml                      | 16 ++++++++++++++++
 pom.xml                                                  |  6 ++++--
 3 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/flink-kubernetes-operator/src/main/resources/META-INF/NOTICE 
b/flink-kubernetes-operator/src/main/resources/META-INF/NOTICE
index c7f0c115..e0bb053f 100644
--- a/flink-kubernetes-operator/src/main/resources/META-INF/NOTICE
+++ b/flink-kubernetes-operator/src/main/resources/META-INF/NOTICE
@@ -27,7 +27,7 @@ This project bundles the following dependencies under the 
Apache Software Licens
 - com.zaxxer:HikariCP:jar:5.1.0
 - commons-cli:commons-cli:jar:1.5.0
 - commons-collections:commons-collections:jar:3.2.2
-- commons-io:commons-io:jar:2.17.0
+- commons-io:commons-io:jar:2.22.0
 - io.fabric8:kubernetes-client-api:jar:7.8.0
 - io.fabric8:kubernetes-client:jar:7.8.0
 - io.fabric8:kubernetes-httpclient-okhttp:jar:7.8.0
diff --git a/flink-kubernetes-standalone/pom.xml 
b/flink-kubernetes-standalone/pom.xml
index 895187b8..7c41c57c 100644
--- a/flink-kubernetes-standalone/pom.xml
+++ b/flink-kubernetes-standalone/pom.xml
@@ -81,6 +81,22 @@ under the License.
             <scope>test</scope>
         </dependency>
 
+        <!-- Not inherited: kubernetes-server-mock declares it optional, and 
this module
+             otherwise only has the client shaded into flink-kubernetes. -->
+        <dependency>
+            <groupId>io.fabric8</groupId>
+            <artifactId>kubernetes-client</artifactId>
+            <scope>test</scope>
+        </dependency>
+
+        <!-- Managed kubernetes-client excludes all httpclient impls; the mock 
server needs one. -->
+        <dependency>
+            <groupId>io.fabric8</groupId>
+            
<artifactId>kubernetes-httpclient-${fabric8.httpclient.impl}</artifactId>
+            <version>${fabric8.version}</version>
+            <scope>test</scope>
+        </dependency>
+
         <dependency>
             <groupId>org.apache.logging.log4j</groupId>
             <artifactId>log4j-slf4j-impl</artifactId>
diff --git a/pom.xml b/pom.xml
index 97faa5f1..5e854e03 100644
--- a/pom.xml
+++ b/pom.xml
@@ -66,7 +66,7 @@ under the License.
         <maven.compiler.source>17</maven.compiler.source>
         <maven.compiler.target>17</maven.compiler.target>
         <maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
-        <maven-surefire-plugin.version>3.0.0-M4</maven-surefire-plugin.version>
+        <maven-surefire-plugin.version>3.5.6</maven-surefire-plugin.version>
         <maven-failsafe-plugin.version>3.0.0-M5</maven-failsafe-plugin.version>
         <maven-resources-plugin.version>3.2.0</maven-resources-plugin.version>
         <maven-javadoc-plugin.version>3.3.2</maven-javadoc-plugin.version>
@@ -79,7 +79,9 @@ under the License.
 
         <lombok.version>1.18.30</lombok.version>
         <commons-lang3.version>3.18.0</commons-lang3.version>
-        <commons-io.version>2.17.0</commons-io.version>
+        <!-- Must be >= what commons-compress (via io.fabric8:kube-api-test) 
needs, else
+             kube-apiserver binary extraction fails with an 
IllegalAccessError. -->
+        <commons-io.version>2.22.0</commons-io.version>
         <flink.version>1.20.4</flink.version>
         <guava.version>33.4.0-jre</guava.version>
 

Reply via email to