Bruno P. Kinoshita created LANG-943:
---------------------------------------

             Summary: Test DurationFormatUtilsTest.testEdgeDuration fails in 
JDK 1.6, 1.7 and 1.8, BRST time zone
                 Key: LANG-943
                 URL: https://issues.apache.org/jira/browse/LANG-943
             Project: Commons Lang
          Issue Type: Bug
         Environment: Apache Maven 3.1.1 
(0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 12:22:22-0300)
Maven home: /opt/java/apache-maven-3.1.1
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.11.0-14-generic", arch: "amd64", family: "unix"

JDK 1.6.0_27, JDK 1.7.0_25, JDK 1.7.0_25
            Reporter: Bruno P. Kinoshita


While helping testing LANG-942 with JDK1.8 I always got three tests failing, 
while others had 2. After @britter fixed the issues related to JDK1.8, I 
continue getting errors with JDK1.8.

I decided to vote for [lang] 3.2.1 and test the tag with JDK 1.8 and a few 
others. However, I'm getting errors with any JDK, 1.6, 1.7 and 1.8 (build 121). 
Always the same error:

Failed tests: 
  
DurationFormatUtilsTest.testEdgeDurations:467->assertEqualDuration:562->assertEqualDuration:575
 expected:<7[7]> but was:<7[6]>

I get the same error with JDK 1.6 and the tag 3.1

Since the test is somewhat related to Time Zones (there are some Calendar's, 
TimeZone.getDefault(), etc), here's my locale and time zone:

kinow@chuva:~/java/apache/commons-lang-31$ locale
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

kinow@chuva:~/java/apache/commons-lang-31$ date
Sun Jan  5 21:23:05 BRST 2014




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to