]> source.dussan.org Git - poi.git/commitdiff
fix #68635: POI unit tests fail when run under non-US locale
authorAxel Howind <axh@apache.org>
Sat, 17 Feb 2024 15:47:46 +0000 (15:47 +0000)
committerAxel Howind <axh@apache.org>
Sat, 17 Feb 2024 15:47:46 +0000 (15:47 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915827 13f79535-47bb-0310-9956-ffa450edef68

poi/build.gradle

index 94cf7f8c67a641c94ed843a7e46b7c3ac49a0821..8c8c3bd03aeb96669e9674d1d1484d4537179e36 100644 (file)
@@ -169,6 +169,10 @@ artifacts {
 }
 
 test {
+    // use US locale for tests
+    systemProperty "user.language", "en"
+    systemProperty "user.country", "US"
+
     dependsOn { testJar }
 
     systemProperties['junit.jupiter.execution.parallel.enabled'] = 'true'