harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Harley (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-468) CalendarTest compareTo test is unstable
Date Wed, 17 May 2006 12:11:06 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-468?page=all ]
George Harley resolved HARMONY-468:

    Resolution: Fixed

Hi Mark, 

Patch committed in revision 407228. Please could you verify that it has been applied as you

Many thanks for this test improvement. 

Best regards, 

> CalendarTest compareTo test is unstable
> ---------------------------------------
>          Key: HARMONY-468
>          URL: http://issues.apache.org/jira/browse/HARMONY-468
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Mark Hindess
>     Assignee: George Harley
>     Priority: Minor
>  Attachments: unstable.calendar.test.diff
> test_compareToLjava_util_Calendar is unstable.  (Insert a Thread.sleep(2000) at line
405 to see it fail.)
> The reason is that getInstance creates an entry with the current second and millisecond
values.  The
> set call retains these values unless clear is called first.  So the two identical sets
can have different second and millisecond values.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message