[jboss-jira] [JBoss JIRA] Commented: (AS7-1689) Failure in CalendarUtilTestCase

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Wed Aug 31 07:00:26 EDT 2011


    [ https://issues.jboss.org/browse/AS7-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625378#comment-12625378 ] 

Carlo de Wolf commented on AS7-1689:
------------------------------------

Today is the 31th, which is not available in April. So the calendar would switch to the first of May.

Following commit makes sure we stay in the correct month:
https://github.com/jbossas/jboss-as/commit/3ea9cbacdc78e658cf4cbf101a3c7c2446e4bbff#ejb3/src/test/java/org/jboss/as/ejb3/timer/schedule/CalendarUtilTestCase.java

> Failure in CalendarUtilTestCase
> -------------------------------
>
>                 Key: AS7-1689
>                 URL: https://issues.jboss.org/browse/AS7-1689
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: EJB
>            Reporter: Carlo de Wolf
>            Assignee: Stuart Douglas
>            Priority: Blocker
>
> I'm unable to compile AS 7.
> {noformat}
> junit.framework.AssertionFailedError: Unexpected date for 2nd wednesday of April 2010 expected:<14> but was:<12>
> 	at org.jboss.as.ejb3.timer.schedule.CalendarUtilTestCase.test2ndXXXDay(CalendarUtilTestCase.java:205)
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list