|
|
|
@ -39,7 +39,6 @@ public class QuartzSchedulerLifecycleTests {
@@ -39,7 +39,6 @@ public class QuartzSchedulerLifecycleTests {
|
|
|
|
|
sw.start("lazyScheduler"); |
|
|
|
|
context.destroy(); |
|
|
|
|
sw.stop(); |
|
|
|
|
System.out.println(sw.getTotalTimeMillis()); |
|
|
|
|
assertTrue("Quartz Scheduler with lazy-init is hanging on destruction: " + |
|
|
|
|
sw.getTotalTimeMillis(), sw.getTotalTimeMillis() < 500); |
|
|
|
|
} |
|
|
|
@ -52,7 +51,6 @@ public class QuartzSchedulerLifecycleTests {
@@ -52,7 +51,6 @@ public class QuartzSchedulerLifecycleTests {
|
|
|
|
|
sw.start("lazyScheduler"); |
|
|
|
|
context.destroy(); |
|
|
|
|
sw.stop(); |
|
|
|
|
System.out.println(sw.getTotalTimeMillis()); |
|
|
|
|
assertTrue("Quartz Scheduler with lazy-init is hanging on destruction: " + |
|
|
|
|
sw.getTotalTimeMillis(), sw.getTotalTimeMillis() < 500); |
|
|
|
|
} |
|
|
|
|