commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Honton (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LANG-1104) FastDateParserTest.testParses fails in TimeZone America/Sao_Paulo
Date Wed, 01 Apr 2015 02:10:52 GMT
Charles Honton created LANG-1104:
------------------------------------

             Summary: FastDateParserTest.testParses fails in TimeZone America/Sao_Paulo
                 Key: LANG-1104
                 URL: https://issues.apache.org/jira/browse/LANG-1104
             Project: Commons Lang
          Issue Type: Bug
          Components: lang.time.*
    Affects Versions: 4.0
            Reporter: Charles Honton


Build works fine with Java 7 and Maven 3.2

Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T15:29:23-02:00)
Maven home: /opt/apache-maven-3.2.5
Java version: 1.7.0_76, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.16.0-33-generic", arch: "amd64", family: "unix"

The following test failed though:

org.apache.commons.lang3.time.FastDateFormat_ParserTest:
java.lang.AssertionError: ms_MY Sat Feb 10 01:53:32 BRT 1900 GGGG/yyyy/MMMM/dddd/hhhh/mmmm/ss/aaaa/EEEE/ZZZZ
America/New_York expected:<Sat Feb 10 01:53:32 BRT 1900> but was:<Sat Feb 10 01:53:04
BRT 1900>

Build fails with Java 8 and Maven 3.2. Same test fails.

Failed tests: 
  FastDateFormat_ParserTest>FastDateParserTest.testParses:250->FastDateParserTest.validateSdfFormatFdpParseEquality:227

Sat Feb 10 01:53:32 BRT 1900 GGGG/yyyy/MMMM/dddd/hhhh/mmmm/ss/aaaa/EEEE/ZZZZ America/New_York
expected:<Sat Feb 10 01:53:32 BRT 1900> but was:<Sat Feb 10 01:53:04 BRT 1900>

My time zone is set to America/Sao_Paulo, GMT -3,
and I suspect that that failing test is in someway related to my time zone.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message