HDDS-13738. Discovered 2 'junit-platform.properties' configuration files#9759
HDDS-13738. Discovered 2 'junit-platform.properties' configuration files#9759adoroszlai merged 2 commits intoapache:masterfrom
Conversation
|
Thanks @echonesis for working on this. I would like to understand how to reproduce the warning on I tried running some OM test without mvn -am -pl :ozone-manager clean package
mvn -am -pl :ozone-manager -Dtest='TestParentAcl' testbut didn't get the warning, nor is there a The jar does contain the properties file: $ unzip -t hadoop-ozone/ozone-manager/target/ozone-manager-2.2.0-SNAPSHOT-tests.jar junit-platform.properties
Archive: hadoop-ozone/ozone-manager/target/ozone-manager-2.2.0-SNAPSHOT-tests.jar
testing: junit-platform.properties OK
No errors detected in hadoop-ozone/ozone-manager/target/ozone-manager-2.2.0-SNAPSHOT-tests.jar for the 1 file tested. |
|
Thanks @adoroszlai for verifying this. The change was motivated by the fact that |
Can we move these properties to the POM and remove the properties file? Lines 2276 to 2278 in e01e4e1 |
|
@adoroszlai , @echonesis , thanks for checking. I am also NOT able to reproduce it. From the error message below, the
|
Thanks @adoroszlai for pointing this out. |
|
Hi @adoroszlai @szetszwo |
|
Thanks @echonesis for the patch, @szetszwo for the review. |
|
Thanks @adoroszlai for the review and merge, @szetszwo for the review. |
What changes were proposed in this pull request?
Exclude
junit-platform.propertiesfrom test-jar artifacts to prevent duplicate configuration file warnings during test execution.What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-13738
How was this patch tested?