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

Tim Allison commented on TIKA-3432:
-----------------------------------

I admit I wasn't able to reproduce this when I set my system locale to de_DE, 
and I was able to get a failure when I changed the setLocales to de_DE.  I am 
NOT doubting that you experienced this, [~tilman]! :D


I read on SO that there may be flaky threadlocals involved with Locales in 
junit tests.  I changed the code to reset to en_US after every test.

Please let me know if this now works.

> Fix localization issue in OOXMLParserTest
> -----------------------------------------
>
>                 Key: TIKA-3432
>                 URL: https://issues.apache.org/jira/browse/TIKA-3432
>             Project: Tika
>          Issue Type: Improvement
>          Components: parser
>    Affects Versions: 2.0.0
>            Reporter: Tim Allison
>            Priority: Minor
>              Labels: localization
>
> [~tilman] reported this locale issue exception:
> {noformat}
> testXLSBVarious(org.apache.tika.parser.microsoft.ooxml.OOXMLParserTest)
> Time elapsed: 0.153 sec  <<< FAILURE!
> java.lang.AssertionError: <td>13.1211231321</td> not found in:
> <tr>    <td>float</td> <td>13,1211231321</td></tr>
> ....
> I guess this is a localization problem. The test code itself is from
> 2017, so the problem is probably elsewhere.
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to