You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test creates a timer that expires this DAY_OF_WEEK and next DAY_OF_MONTH. When running this test the day before daylight time switch, the next day of month is +/- 1 hour, instead of the exact 24 hours. The test manually computes an expected remaining time as long expectedNext = 24 * 60 * 60 * 1000;, which is off by 1 hour when running on the day before daylight time switch.
See test class com.sun.ts.tests.ejb32.lite.timer.schedule.expression.annotated.ScheduleBean
The error messages:
Nov 03, 2019 12:01:26 AM com.sun.ts.tests.common.vehicle.ejbliteshare.EJBLiteWebVehicleRunner run
INFO: Connecting http://localhost:8080/ejb32_lite_timer_schedule_expression_annotated_ejblitejsf_vehicle_web/faces/ejblitejsf_vehicle.jsp?testName=dayOfMonthAndDayOfWeek
<html>
<head><title>dayOfMonthAndDayOfWeek_from_ejblitejsf</title></head>
<body>
[TEST FAILED] testName=dayOfMonthAndDayOfWeek Created timer: TimerInfo testName=dayOfMonthAndDayOfWeek testNumber=0 status=false doubleVar=0.0 longVar=0 charVar= booleanVar=false intVar=0 schedule:ScheduleExpression [second=27;minute=1;hour=0;dayOfMonth=4;month=*;dayOfWeek=7;year=*;timezoneID=null;start=null;end=null] nextTimeout:Sun Nov 03 00:01:27 EDT 2019 timeRemaining:551 isPersistent:false
[Invoking Timeout method for timer with schedule: year=* month=* dayOfMonth=4 dayOfWeek=7 hour=0 minute=1 second=27 start=null end=null timezone=null, info: TimerInfo testName=dayOfMonthAndDayOfWeek testNumber=0 status=false doubleVar=0.0 longVar=0 charVar= booleanVar=false intVar=0, and isPersistent: false, Expecting approximate timeRemaining 86400000, actual timeRemaining 89999998]
Check timeout status Expecting true, but actual falseFailed with exception
java.lang.RuntimeException: Created timer: TimerInfo testName=dayOfMonthAndDayOfWeek testNumber=0 status=false doubleVar=0.0 longVar=0 charVar= booleanVar=false intVar=0 schedule:ScheduleExpression [second=27;minute=1;hour=0;dayOfMonth=4;month=*;dayOfWeek=7;year=*;timezoneID=null;start=null;end=null] nextTimeout:Sun Nov 03 00:01:27 EDT 2019 timeRemaining:551 isPersistent:false
[Invoking Timeout method for timer with schedule: year=* month=* dayOfMonth=4 dayOfWeek=7 hour=0 minute=1 second=27 start=null end=null timezone=null, info: TimerInfo testName=dayOfMonthAndDayOfWeek testNumber=0 status=false doubleVar=0.0 longVar=0 charVar= booleanVar=false intVar=0, and isPersistent: false, Expecting approximate timeRemaining 86400000, actual timeRemaining 89999998]
The text was updated successfully, but these errors were encountered:
The following 4 tests failed when running the day before daylight time switch (e.g., 2019-11-02):
The test creates a timer that expires this DAY_OF_WEEK and next DAY_OF_MONTH. When running this test the day before daylight time switch, the next day of month is +/- 1 hour, instead of the exact 24 hours. The test manually computes an expected remaining time as
long expectedNext = 24 * 60 * 60 * 1000;
, which is off by 1 hour when running on the day before daylight time switch.See test class com.sun.ts.tests.ejb32.lite.timer.schedule.expression.annotated.ScheduleBean
The error messages:
The text was updated successfully, but these errors were encountered: