diff --git a/logback-core/src/main/java/ch/qos/logback/core/CoreConstants.java b/logback-core/src/main/java/ch/qos/logback/core/CoreConstants.java index f4430e3446..3afee877c1 100644 --- a/logback-core/src/main/java/ch/qos/logback/core/CoreConstants.java +++ b/logback-core/src/main/java/ch/qos/logback/core/CoreConstants.java @@ -24,12 +24,6 @@ public class CoreConstants { */ public static final int CORE_POOL_SIZE = 0; - // Apparently ScheduledThreadPoolExecutor has limitation where a task cannot be - // submitted from within a running task unless the pool has worker threads already available. - // ThreadPoolExecutor does not have this limitation. - // This causes tests failures in SocketReceiverTest.testDispatchEventForEnabledLevel and - // ServerSocketReceiverFunctionalTest.testLogEventFromClient. - // We thus set a pool size > 0 for tests to pass. public static final int SCHEDULED_EXECUTOR_POOL_SIZE = 2; /** diff --git a/logback-core/src/test/java/ch/qos/logback/core/SchedulerTest.java b/logback-core/src/test/java/ch/qos/logback/core/SchedulerTest.java deleted file mode 100644 index c86211398a..0000000000 --- a/logback-core/src/test/java/ch/qos/logback/core/SchedulerTest.java +++ /dev/null @@ -1,2 +0,0 @@ -package ch.qos.logback.core;public class SchedulerTest { -}