camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-11467) Camel-bindy tests fail depending on the locale
Date Tue, 27 Jun 2017 19:42:00 GMT
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)

Mime
View raw message