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

jbonofre pushed a commit to branch karaf-4.4.x
in repository https://gitbox.apache.org/repos/asf/karaf.git


The following commit(s) were added to refs/heads/karaf-4.4.x by this push:
     new 9f22eba87a fix(itests): Speed up JVM teardown by using TCP 
communication instead of stdio (#2815) (#2882)
9f22eba87a is described below

commit 9f22eba87a55cffa46d444c1846f016bb28c7a77
Author: Holger Friedrich <[email protected]>
AuthorDate: Fri Sep 11 05:57:39 2026 +0200

    fix(itests): Speed up JVM teardown by using TCP communication instead of 
stdio (#2815) (#2882)
---
 examples/karaf-itest-example/pom.xml | 3 +++
 itests/test/pom.xml                  | 6 ++++++
 2 files changed, 9 insertions(+)

diff --git a/examples/karaf-itest-example/pom.xml 
b/examples/karaf-itest-example/pom.xml
index a5e6279b57..38abd41767 100644
--- a/examples/karaf-itest-example/pom.xml
+++ b/examples/karaf-itest-example/pom.xml
@@ -128,6 +128,9 @@
                 <configuration>
                     <forkCount>1</forkCount>
                     <reuseForks>false</reuseForks>
+                    <!-- Use SurefireForkNodeFactory to switch to TCP 
communication to JVM instead of stdin/stdout
+                         to avoid interfering with pax exam leading to 30sec 
timeouts during shutdown -->
+                    <forkNode 
implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
                     <systemPropertyVariables>
                         <my.system.property>foo</my.system.property>
                     </systemPropertyVariables>
diff --git a/itests/test/pom.xml b/itests/test/pom.xml
index a0d6c346de..8aa8e80284 100644
--- a/itests/test/pom.xml
+++ b/itests/test/pom.xml
@@ -310,6 +310,9 @@
                 <configuration>
                     <forkCount>1</forkCount>
                     <reuseForks>false</reuseForks>
+                    <!-- Use SurefireForkNodeFactory to switch to TCP 
communication to JVM instead of stdin/stdout
+                         to avoid interfering with pax exam leading to 30sec 
timeouts during shutdown -->
+                    <forkNode 
implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
                     <systemPropertyVariables>
                         
<org.ops4j.pax.logging.DefaultServiceLog.level>INFO</org.ops4j.pax.logging.DefaultServiceLog.level>
                         
<spring31.version>${spring31.version}</spring31.version>
@@ -375,6 +378,9 @@
                             <excludes>
                                 <exclude>MavenTest</exclude>
                             </excludes>
+                            <!-- Use SurefireForkNodeFactory to switch to TCP 
communication to JVM instead of stdin/stdout
+                                to avoid interfering with pax exam leading to 
30sec timeouts during shutdown -->
+                            <forkNode 
implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
                             <systemPropertyVariables>
                                 
<org.ops4j.pax.url.mvn.localRepository>${maven.repo.local}</org.ops4j.pax.url.mvn.localRepository>
                                 
<org.ops4j.pax.logging.DefaultServiceLog.level>INFO</org.ops4j.pax.logging.DefaultServiceLog.level>

Reply via email to