Improvement #5 升级Quartz 2.x
This commit is contained in:
@@ -44,7 +44,7 @@ public class Threads {
|
||||
pool.shutdownNow(); // Cancel currently executing tasks
|
||||
// Wait a while for tasks to respond to being cancelled
|
||||
if (!pool.awaitTermination(shutdownNowTimeout, timeUnit)) {
|
||||
System.err.println("Pool did not terminate");
|
||||
System.err.println("Pool did not terminated");
|
||||
}
|
||||
}
|
||||
} catch (InterruptedException ie) {
|
||||
@@ -62,7 +62,7 @@ public class Threads {
|
||||
try {
|
||||
pool.shutdownNow();
|
||||
if (!pool.awaitTermination(timeout, timeUnit)) {
|
||||
System.err.println("Pool did not terminate");
|
||||
System.err.println("Pool did not terminated");
|
||||
}
|
||||
} catch (InterruptedException ie) {
|
||||
Thread.currentThread().interrupt();
|
||||
|
||||
@@ -19,7 +19,7 @@ import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springside.modules.log.MockLog4jAppender;
|
||||
|
||||
@Ignore("Unstatable on Jenkins")
|
||||
@Ignore("Unstable on Jenkins")
|
||||
public class ThreadsTest {
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user