Permalink
Browse files

Merge pull request #250 from dsyer/feature/crontest

Fix test for daylight savings glitch
  • Loading branch information...
cbeams committed Mar 10, 2013
2 parents 8ab8e4f + 5b6f149 commit 88b9bea049430031fbdb801313a5b18ec66247e1
View
@@ -19,6 +19,7 @@ pom.xml
/build
buildSrc/build
/spring-*/build
+target/
# Eclipse artifacts, including WTP generated manifests
.classpath
@@ -422,8 +422,8 @@ public void testSpecificMinuteSecond() throws Exception {
@Test
public void testSpecificHourSecond() throws Exception {
- CronTrigger trigger = new CronTrigger("55 * 2 * * *", timeZone);
- calendar.set(Calendar.HOUR_OF_DAY, 1);
+ CronTrigger trigger = new CronTrigger("55 * 10 * * *", timeZone);
+ calendar.set(Calendar.HOUR_OF_DAY, 9);
calendar.set(Calendar.SECOND, 54);
Date date = calendar.getTime();
TriggerContext context1 = getTriggerContext(date);

0 comments on commit 88b9bea

Please sign in to comment.