Hi,

'run-tests' gives me 52 failures on my machine. If I change the locale to English (export LANG=en) there won't be any failures.

One example:

productionruntests production-run-tests.testProductionRunQuickIssueAndProduce

Assertion failed: [materialAConsumedTotal=20] equals 2.0 as BigDecimal

junit.framework.AssertionFailedError: Assertion failed: [materialAConsumedTotal=20] equals 2.0 as BigDecimal
 at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
 at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
 at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
 at org.ofbiz.base.start.Start.startServer(Start.java:322)
 at org.ofbiz.base.start.Start.start(Start.java:326)
 at org.ofbiz.base.start.Start.main(Start.java:411)


This smells like a locale/number format issue....
I've no time to have a closer look at this right now but maybe someone has an idea how to fix it

Christian

Reply via email to