nitrite / nitrite-java

NoSQL embedded document store for Java
https://bit.ly/no2db
Apache License 2.0
825 stars 95 forks source link

Tests fail on systems with non ENGLISH locale #994

Closed DarkAtra closed 2 months ago

DarkAtra commented 2 months ago

When running mvn clean install -Dgpg.skip=true on a system with a german locale, many tests fail with:

java.lang.NumberFormatException: For input string: "18,58"

The number in the exception messages changes randomly as it is generated by javafaker. It seems like javafaker does not respect the locale when formatting prices, see: https://github.com/DiUS/java-faker/issues/433.

Possible solutions: