[
https://issues.apache.org/jira/browse/CAMEL-11467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet resolved CAMEL-11467.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.20.0
> Camel-bindy tests fail depending on the locale
> ----------------------------------------------
>
> Key: CAMEL-11467
> URL: https://issues.apache.org/jira/browse/CAMEL-11467
> Project: Camel
> Issue Type: Bug
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Priority: Minor
> Fix For: 2.20.0
>
>
> I end up with the following:
> {code}
> [ERROR] Failures:
> [ERROR]
> org.apache.camel.dataformat.bindy.fixed.BindyMarshallUnmarshallWithDefaultValueTest.testMarshallMessage(org.apache.camel.dataformat.bindy.fixed.BindyMarshallUnmarshallWithDefaultValueTest)
> [ERROR] Run 1:
> BindyMarshallUnmarshallWithDefaultValueTest.testMarshallMessage:56
> mock://resultMarshal Body of message: 0. Expected: <10A9 JohnDoe
> ISINXD12345678BUYShare000002500.45USD01-08-2009
> > but was: <10A9 JohnDoe ISINXD12345678BUYShare000002500,45USD01-08-2009
> >
> >
> [ERROR] Run 2:
> BindyMarshallUnmarshallWithDefaultValueTest.testMarshallMessage:56
> mock://resultMarshal Body of message: 0. Expected: <10A9 JohnDoe
> ISINXD12345678BUYShare000002500.45USD01-08-2009
> > but was: <10A9 JohnDoe ISINXD12345678BUYShare000002500,45USD01-08-2009
> >
> >
> [ERROR] Run 3:
> BindyMarshallUnmarshallWithDefaultValueTest.testMarshallMessage:56
> mock://resultMarshal Body of message: 0. Expected: <10A9 JohnDoe
> ISINXD12345678BUYShare000002500.45USD01-08-2009
> > but was: <10A9 JohnDoe ISINXD12345678BUYShare000002500,45USD01-08-2009
> >
> >
> {code}
> My system decimal separator is set to ',' instead of '.' which causes the
> failures.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)