You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ec...@apache.org on 2023/12/04 15:59:59 UTC

(flink-connector-shared-utils) branch parent_pom updated: [FLINK-33305] Allow to customize arg line for connector's surefire plugin (#25)

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

echauchot pushed a commit to branch parent_pom
in repository https://gitbox.apache.org/repos/asf/flink-connector-shared-utils.git


The following commit(s) were added to refs/heads/parent_pom by this push:
     new ac09d18  [FLINK-33305] Allow to customize arg line for connector's surefire plugin (#25)
ac09d18 is described below

commit ac09d18d874691f00629c90726458011034ea106
Author: Sergey Nuyanzin <se...@aiven.io>
AuthorDate: Mon Dec 4 16:59:54 2023 +0100

    [FLINK-33305] Allow to customize arg line for connector's surefire plugin (#25)
    
    [FLINK-33305][CI] Allow to customize arg line for connector surefire plugin
---
 pom.xml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 0d88817..fb93bac 100644
--- a/pom.xml
+++ b/pom.xml
@@ -71,7 +71,7 @@ under the License.
              to the jvm (-Xmx) and the available memory on the machine running the test -->
         <flink.forkCountITCase>2</flink.forkCountITCase>
         <flink.forkCountUnitTest>4</flink.forkCountUnitTest>
-        <flink.surefire.baseArgLine>-XX:+UseG1GC -Xms256m</flink.surefire.baseArgLine>
+        <flink.surefire.baseArgLine>-XX:+UseG1GC -Xms256m -XX:+IgnoreUnrecognizedVMOptions ${surefire.module.config}</flink.surefire.baseArgLine>
 
         <flink.convergence.phase>validate</flink.convergence.phase>
         <japicmp.outputDir>tools/japicmp-output</japicmp.outputDir>
@@ -84,6 +84,11 @@ under the License.
         <!-- optional property to add exclusions to surefire tests
         (among other things for skipping archunit tests) -->
         <additionalExcludes/>
+        <!-- This property should contain the add-opens/add-exports commands required
+        for the connector tests in the given connector's module to pass.
+        It MUST be a space-separated list not containing any newlines,
+        of entries in the form '[-]{2}add-[opens|exports]=<module>/<package>=ALL-UNNAMED'.-->
+        <surefire.module.config/>
     </properties>
 
     <build>