aboutsummaryrefslogtreecommitdiffstats
path: root/poi/build.gradle
diff options
context:
space:
mode:
authorAxel Howind <axh@apache.org>2024-02-17 15:47:46 +0000
committerAxel Howind <axh@apache.org>2024-02-17 15:47:46 +0000
commit63899a88101c4705cc9bb54d8d790eccdd9ee3dd (patch)
treecb2d8a19fd0a512866d6c8e1a50a829114ed26de /poi/build.gradle
parentc871bb7b9fe73ef408204028d2266d759c880417 (diff)
downloadpoi-63899a88101c4705cc9bb54d8d790eccdd9ee3dd.tar.gz
poi-63899a88101c4705cc9bb54d8d790eccdd9ee3dd.zip
fix #68635: POI unit tests fail when run under non-US locale
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915827 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi/build.gradle')
-rw-r--r--poi/build.gradle4
1 files changed, 4 insertions, 0 deletions
diff --git a/poi/build.gradle b/poi/build.gradle
index 94cf7f8c67..8c8c3bd03a 100644
--- a/poi/build.gradle
+++ b/poi/build.gradle
@@ -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'