[jboss-jira] [JBoss JIRA] (WFLY-4334) CalendarBasedTimeoutTestCase fails consistently
Peter Major (JIRA)
issues at jboss.org
Fri Apr 3 20:56:18 EDT 2015
[ https://issues.jboss.org/browse/WFLY-4334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056042#comment-13056042 ]
Peter Major edited comment on WFLY-4334 at 4/3/15 8:55 PM:
-----------------------------------------------------------
The test fails for Africa/Cairo timezone, and according to the [timezone informations|http://www.timeanddate.com/time/zone/egypt/cairo] it looks like there was no 0 o'clock on 2014 August 1st in Egypt... One way to more easily trigger this test failure would be to change "start" in testWithStartInThePast to
{noformat}
start.set(2014, 6, 18);
{noformat}
Since I was unable to reproduce the same build failure with master, I've looked at the code history, which showed that WFLY-3947 has removed this faulty test case. Backporting WFLY-3947 to 8.x resolved the build failures for me.
was (Author: aldaris):
The test fails for Africa/Cairo timezone, and according to the [http://www.timeanddate.com/time/zone/egypt/cairo|timezone informations] it looks like there was no 0 o'clock on 2014 August 1st in Egypt... One way to more easily trigger this test failure would be to change "start" in testWithStartInThePast to
{noformat}
start.set(2014, 6, 18);
{noformat}
Since I was unable to reproduce the same build failure with master, I've looked at the code history, which showed that WFLY-3947 has removed this faulty test case. Backporting WFLY-3947 to 8.x resolved the build failures for me.
> CalendarBasedTimeoutTestCase fails consistently
> -----------------------------------------------
>
> Key: WFLY-4334
> URL: https://issues.jboss.org/browse/WFLY-4334
> Project: WildFly
> Issue Type: Bug
> Components: EJB
> Reporter: Thomas Diesler
> Assignee: David Lloyd
>
> Happens on branch 8.x
> {code}
> Running org.jboss.as.ejb3.timer.schedule.CalendarBasedTimeoutTestCase
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.352 sec <<< FAILURE! - in org.jboss.as.ejb3.timer.schedule.CalendarBasedTimeoutTestCase
> testCalendarBasedTimeout(org.jboss.as.ejb3.timer.schedule.CalendarBasedTimeoutTestCase) Time elapsed: 0.342 sec <<< FAILURE!
> java.lang.AssertionError: Eastern European Time
> at org.junit.Assert.fail(Assert.java:88)
> at org.jboss.as.ejb3.timer.schedule.CalendarBasedTimeoutTestCase.testWithStartInThePast(CalendarBasedTimeoutTestCase.java:539)
> at org.jboss.as.ejb3.timer.schedule.CalendarBasedTimeoutTestCase.testCalendarBasedTimeout(CalendarBasedTimeoutTestCase.java:129)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list