pingwang created FLUME-3039: ------------------------------- Summary: 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: v1.7.0 Reporter: pingwang Priority: Minor
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.3.4#6332)