[ 
https://issues.apache.org/jira/browse/FLUME-3039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ferenc Szabo updated FLUME-3039:
--------------------------------
    Fix Version/s:     (was: 1.8.0)
                   1.8.1

> TestSyslogUtils fails when system locale is not English
> -------------------------------------------------------
>
>                 Key: FLUME-3039
>                 URL: https://issues.apache.org/jira/browse/FLUME-3039
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>    Affects Versions: 1.7.0
>            Reporter: pingwang
>            Priority: Minor
>             Fix For: 1.8.1
>
>         Attachments: FLUME-3039.patch
>
>
> Ran Flume 1.7.0 UT hit the error below:
> ...
> TestHeader9(org.apache.flume.source.TestSyslogUtils)  Time elapsed: 10 sec  
> <<< ERROR!
> java.text.ParseException: Unparseable date: "2016十二月  28 03:12:25"
>     at java.text.DateFormat.parse(DateFormat.java:366)
>     at 
> org.apache.flume.source.TestSyslogUtils.checkHeader(TestSyslogUtils.java:251)
>     at 
> org.apache.flume.source.TestSyslogUtils.checkHeader(TestSyslogUtils.java:266)
>     at 
> org.apache.flume.source.TestSyslogUtils.TestHeader9(TestSyslogUtils.java:143)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>     at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:497)
>     at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
>     at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15
> ...



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to