[jboss-jira] [JBoss JIRA] (WFLY-2881) org.jboss.as.ejb3.timer.schedule.CalendarBasedTimeoutTestCase#testCalendarBasedTimeout

Frank Langelage (JIRA) issues at jboss.org
Tue Feb 11 15:53:28 EST 2014


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

Frank Langelage commented on WFLY-2881:
---------------------------------------

Currently I also cannot reproduce the problem. When I created this issue, it was producible every time.
But looking at build 2623  http://brontes.lab.eng.brq.redhat.com/viewLog.html?buildId=10705&buildTypeId=WFPR you can see that it also happened on the redhat build server. And disappeared. I see no code change that might have fixed the problem.
I suspect that the appearance of the problem has to do with the time of the day when the test is run.
I'll try a test run later again and tomorrow morning German time.

Anyways within the testcase the Assert.fail(timeZoneDisplayName); in line 496 and 527 should be changed to Assert.fail(firstTimeout.toString()); to printout the whole Calendar object or at least to a printout of the fields checked or Assert.equals for th checked fields. The timezone is not checked.

                
> org.jboss.as.ejb3.timer.schedule.CalendarBasedTimeoutTestCase#testCalendarBasedTimeout
> --------------------------------------------------------------------------------------
>
>                 Key: WFLY-2881
>                 URL: https://issues.jboss.org/browse/WFLY-2881
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: EJB
>    Affects Versions: 8.0.0.Final
>            Reporter: Frank Langelage
>            Assignee: Tomaz Cerar
>         Attachments: org.jboss.as.ejb3.timer.schedule.CalendarBasedTimeoutTestCase.txt, TEST-org.jboss.as.ejb3.timer.schedule.CalendarBasedTimeoutTestCase.xml
>
>
> Running build with smoke tests on current github sources I get failure in this test case.
> HOUR_OF_DAY is not 0 as expected but 1.
> I changed the Assert in the test case to print out firstTimeout.toString() instead of only timeZoneDisplayName.
> See attached files for more.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list