Skip to content

Commit 8672c44

Browse files
committed
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 jakartaee/jsonb-api#360
1 parent f9765d6 commit 8672c44

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

johnzon-jsonb/pom.xml

+3
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,9 @@
241241
<!-- needed to pass JSON-B 3 TCKs on jdk 13+, see https://github.com/jakartaee/jsonb-api/issues/272 -->
242242
<java.locale.providers>COMPAT</java.locale.providers>
243243
</systemPropertyVariables>
244+
245+
<!-- This is required as a few tests in the TCK are depending on the Locale, see https://github.com/jakartaee/jsonb-api/issues/360 -->
246+
<argLine>-Duser.language=en -Duser.region=US</argLine>
244247
</configuration>
245248
</execution>
246249
</executions>

0 commit comments

Comments
 (0)