From 94e2b8eb959c8d7559edd13d7ebe2c0637bf8ab9 Mon Sep 17 00:00:00 2001 From: Lari Hotari Date: Tue, 6 Feb 2024 17:06:41 +0200 Subject: [PATCH] Use maven-surefire 2.8.1 for certain tests --- tests/integration-tests-base-groovy/pom.xml | 28 ++++++++++++++-- tests/integration-tests-utils/pom.xml | 36 +++++++++++++++++++-- 2 files changed, 59 insertions(+), 5 deletions(-) diff --git a/tests/integration-tests-base-groovy/pom.xml b/tests/integration-tests-base-groovy/pom.xml index 5106007d6c3..9403a03bd90 100644 --- a/tests/integration-tests-base-groovy/pom.xml +++ b/tests/integration-tests-base-groovy/pom.xml @@ -36,6 +36,25 @@ + + + + org.apache.maven.plugins + maven-surefire-plugin + + 2.8.1 + + + org.apache.maven.surefire + surefire-junit4 + 2.8.1 + + + + + maven-compiler-plugin @@ -79,10 +98,15 @@ org.apache.maven.plugins maven-surefire-plugin - + 2.8.1 + -Xmx4G -Djava.net.preferIPv4Stack=true ${test.additional.args} - 1 + once false + -Xmx2G -Djava.net.preferIPv4Stack=true -Dio.netty.leakDetection.level=paranoid ${test.additional.args} + ${redirectTestOutputToFile} + false + 1800 System.out diff --git a/tests/integration-tests-utils/pom.xml b/tests/integration-tests-utils/pom.xml index 90034983d8f..fb83a7ce579 100644 --- a/tests/integration-tests-utils/pom.xml +++ b/tests/integration-tests-utils/pom.xml @@ -78,15 +78,45 @@ + + + + + org.apache.maven.plugins + maven-surefire-plugin + + 2.8.1 + + + org.apache.maven.surefire + surefire-junit4 + 2.8.1 + + + + + org.apache.maven.plugins maven-surefire-plugin - - 1 - false + 2.8.1 + + -Xmx4G -Djava.net.preferIPv4Stack=true ${test.additional.args} + once false + -Xmx2G -Djava.net.preferIPv4Stack=true -Dio.netty.leakDetection.level=paranoid ${test.additional.args} + ${redirectTestOutputToFile} + false + 1800 + + org.junit.platform:* + org.junit.vintage:* + org.junit.jupiter:* +