From 3703ab1a002bbb54c59cb6d1aced6c9b00acd85f Mon Sep 17 00:00:00 2001 From: hongwei Date: Fri, 9 Jan 2026 13:30:45 +0100 Subject: [PATCH] refactor/(pom.xml): disable parallel test execution to prevent database conflicts - Disable parallel test execution in obp-api module to avoid shared H2 database state issues - Disable parallel test execution in obp-commons module for consistency - Set parallel configuration to false across both modules - Comment out threadCount configuration as it is no longer needed - Tests share an in-memory H2 database which causes conflicts when run concurrently - This resolves intermittent test failures caused by database state contamination between parallel test runs --- obp-api/pom.xml | 8 +++++--- obp-commons/pom.xml | 7 ++++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/obp-api/pom.xml b/obp-api/pom.xml index 5d6df26b8..7b59ac072 100644 --- a/obp-api/pom.xml +++ b/obp-api/pom.xml @@ -590,9 +590,11 @@ -Drun.mode=test -XX:MaxMetaspaceSize=1G -Xms2G -Xmx4G -XX:+UseG1GC -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:+UseStringDeduplication --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.lang.invoke=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.util.jar=ALL-UNNAMED --add-opens java.base/java.security=ALL-UNNAMED code.external ${maven.test.failure.ignore} - - true - 4 + + + + + false diff --git a/obp-commons/pom.xml b/obp-commons/pom.xml index de9d694ff..a41f81a4e 100644 --- a/obp-commons/pom.xml +++ b/obp-commons/pom.xml @@ -117,9 +117,10 @@ -Drun.mode=test -XX:MaxMetaspaceSize=1G -Xms2G -Xmx4G -XX:+UseG1GC -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:+UseStringDeduplication code.external ${maven.test.failure.ignore} - - true - 4 + + + + false