You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Alex Dettinger (JIRA)" <ji...@apache.org> on 2018/01/31 18:31:00 UTC
[jira] [Assigned] (CAMEL-12209)
StringHelperTest.testHumanReadableBytes() is not repeatable
[ https://issues.apache.org/jira/browse/CAMEL-12209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Dettinger reassigned CAMEL-12209:
--------------------------------------
Assignee: Alex Dettinger
> StringHelperTest.testHumanReadableBytes() is not repeatable
> -----------------------------------------------------------
>
> Key: CAMEL-12209
> URL: https://issues.apache.org/jira/browse/CAMEL-12209
> Project: Camel
> Issue Type: Test
> Reporter: Alex Dettinger
> Assignee: Alex Dettinger
> Priority: Minor
>
> This test expects a byte number (e.g. 1024) to be formatted into a string (e.g. 1.0 KB).
> The implementation is dependent upon the default locale, so this test fails, for instance on a french machine:
> {code:java}
> [ERROR] Run 1: StringHelperTest.testHumanReadableBytes:262 expected:<1[.]0 KB> but was:<1[,]0 KB>
> [ERROR] Run 2: StringHelperTest.testHumanReadableBytes:262 expected:<1[.]0 KB> but was:<1[,]0 KB>
> [ERROR] Run 3: StringHelperTest.testHumanReadableBytes:262 expected:<1[.]0 KB> but was:<1[,]0 KB>{code}
>
> I will setup a PR to discuss this.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)