Guillaume Nodet created CAMEL-11467:
---------------------------------------

             Summary: 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


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)

Reply via email to