Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix test for daylight savings glitch #250

Merged
merged 1 commit into from

3 participants

@dsyer

No description provided.

@cbeams cbeams was assigned
@sbrannen sbrannen was assigned
@cbeams cbeams merged commit 88b9bea into from
@cbeams

Thanks, Dave.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 10, 2013
  1. @dsyer
This page is out of date. Refresh to see the latest.
View
1  .gitignore
@@ -19,6 +19,7 @@ pom.xml
/build
buildSrc/build
/spring-*/build
+target/
# Eclipse artifacts, including WTP generated manifests
.classpath
View
4 spring-context/src/test/java/org/springframework/scheduling/support/CronTriggerTests.java
@@ -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);
Something went wrong with that request. Please try again.