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

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new c2bb1b43057 HDDS-13738. Move junit properties into pom.xml (#9759)
c2bb1b43057 is described below

commit c2bb1b4305728a1834b5afbfe1ab5b3d7512fb76
Author: Eric C. Ho <[email protected]>
AuthorDate: Mon Feb 23 14:47:11 2026 +0800

    HDDS-13738. Move junit properties into pom.xml (#9759)
---
 .../src/test/resources/junit-platform.properties   | 27 ----------------------
 pom.xml                                            |  7 +++++-
 2 files changed, 6 insertions(+), 28 deletions(-)

diff --git 
a/hadoop-ozone/ozone-manager/src/test/resources/junit-platform.properties 
b/hadoop-ozone/ozone-manager/src/test/resources/junit-platform.properties
deleted file mode 100644
index 2b0dc6d434f..00000000000
--- a/hadoop-ozone/ozone-manager/src/test/resources/junit-platform.properties
+++ /dev/null
@@ -1,27 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# Enable parallel execution
-junit.jupiter.execution.parallel.enabled=true
-# Still, run test classes sequentially by default
-junit.jupiter.execution.parallel.mode.default=same_thread
-junit.jupiter.execution.parallel.mode.classes.default=same_thread
-
-# Configure the parallelism strategy
-junit.jupiter.execution.parallel.config.strategy=dynamic
-# See 
https://docs.junit.org/snapshot/user-guide/#writing-tests-parallel-execution-config
-junit.jupiter.execution.parallel.config.dynamic.factor=1
diff --git a/pom.xml b/pom.xml
index 4e5d436fd75..7db5ff9b318 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2275,7 +2275,12 @@
           <properties>
             <configurationParameters>junit.platform.output.capture.stdout = 
true
               junit.platform.output.capture.stderr = true
-              junit.jupiter.execution.timeout.default = 
5m</configurationParameters>
+              junit.jupiter.execution.timeout.default = 5m
+              junit.jupiter.execution.parallel.enabled = true
+              junit.jupiter.execution.parallel.mode.default = same_thread
+              junit.jupiter.execution.parallel.mode.classes.default = 
same_thread
+              junit.jupiter.execution.parallel.config.strategy = dynamic
+              junit.jupiter.execution.parallel.config.dynamic.factor = 
1</configurationParameters>
           </properties>
           <includes>
             <include>**/Test*.java</include>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to