Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #250 from dsyer/feature/crontest

Fix test for daylight savings glitch
  • Loading branch information...
commit 88b9bea049430031fbdb801313a5b18ec66247e1 2 parents 8ab8e4f + 5b6f149
Chris Beams authored March 10, 2013
1  .gitignore
@@ -19,6 +19,7 @@ pom.xml
19 19
 /build
20 20
 buildSrc/build
21 21
 /spring-*/build
  22
+target/
22 23
 
23 24
 # Eclipse artifacts, including WTP generated manifests
24 25
 .classpath
4  spring-context/src/test/java/org/springframework/scheduling/support/CronTriggerTests.java
@@ -422,8 +422,8 @@ public void testSpecificMinuteSecond() throws Exception {
422 422
 
423 423
 	@Test
424 424
 	public void testSpecificHourSecond() throws Exception {
425  
-		CronTrigger trigger = new CronTrigger("55 * 2 * * *", timeZone);
426  
-		calendar.set(Calendar.HOUR_OF_DAY, 1);
  425
+		CronTrigger trigger = new CronTrigger("55 * 10 * * *", timeZone);
  426
+		calendar.set(Calendar.HOUR_OF_DAY, 9);
427 427
 		calendar.set(Calendar.SECOND, 54);
428 428
 		Date date = calendar.getTime();
429 429
 		TriggerContext context1 = getTriggerContext(date);

0 notes on commit 88b9bea

Please sign in to comment.
Something went wrong with that request. Please try again.