This is an automated email from the ASF dual-hosted git repository.
struberg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/johnzon.git
The following commit(s) were added to refs/heads/master by this push:
new 8672c449 pin down the Locale to en_US as the TCK tests are broken
8672c449 is described below
commit 8672c4490b10f70edc5fff4554a74bdc46d643b3
Author: Mark Struberg <[email protected]>
AuthorDate: Sun Oct 20 15:16:03 2024 +0200
pin down the Locale to en_US as the TCK tests are broken
The TCK test for JsonbNumberFormat does not specify a Locale and thus
creates random results depending on the Locale the TCK box is set up with.
See https://github.com/jakartaee/jsonb-api/issues/360
---
johnzon-jsonb/pom.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/johnzon-jsonb/pom.xml b/johnzon-jsonb/pom.xml
index 4a9ca916..799da14a 100644
--- a/johnzon-jsonb/pom.xml
+++ b/johnzon-jsonb/pom.xml
@@ -241,6 +241,9 @@
<!-- needed to pass JSON-B 3 TCKs on jdk 13+, see
https://github.com/jakartaee/jsonb-api/issues/272 -->
<java.locale.providers>COMPAT</java.locale.providers>
</systemPropertyVariables>
+
+ <!-- This is required as a few tests in the TCK are depending on
the Locale, see https://github.com/jakartaee/jsonb-api/issues/360 -->
+ <argLine>-Duser.language=en -Duser.region=US</argLine>
</configuration>
</execution>
</executions>