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] [Commented] (CAMEL-11467) Camel-bindy tests fail depending on the locale
Date Tue, 27 Jun 2017 21:27:00 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-11467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16065500#comment-16065500
] 

Guillaume Nodet commented on CAMEL-11467:
-----------------------------------------

Yes, and no.  I have a fix to set the system properties, as they need to be set for surefire
VM.  I'm just running the full build before committing.

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