[
https://issues.apache.org/jira/browse/PHOENIX-834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gabriel Reid updated PHOENIX-834:
---------------------------------
Attachment: PHOENIX-834.patch
Patch to temporarily set the default locale on the affected test, as well as
removing locale-specific code from a test where it doesn't really need to be
tested.
> Unit tests fail if default locale is not en_US
> ----------------------------------------------
>
> Key: PHOENIX-834
> URL: https://issues.apache.org/jira/browse/PHOENIX-834
> Project: Phoenix
> Issue Type: Bug
> Reporter: Gabriel Reid
> Attachments: PHOENIX-834.patch
>
>
> Unit tests for the ToNumber function with a dollar sign as currency symbol
> only work if the default locale of the machine running the tests is en_US (or
> another locale that uses the dollar sign as their currency symbol). The code
> causing the failure isn’t really a problem (i.e. it’s behaving correctly),
> but fact that a dollar sign is hard-coded as the currency symbol in the test
> code makes the test fails in non-US locales.
--
This message was sent by Atlassian JIRA
(v6.2#6252)