From b03374f84d492f16410420d6de8132d0e181b782 Mon Sep 17 00:00:00 2001 From: "2590965087@qq.com" <2590968087@qq.com> Date: Sun, 30 Jul 2023 01:11:07 +0800 Subject: [PATCH] Refactoring throws an exception when the newly set number of core threads exceeds the maximum number of threads --- .../common/executor/support/ThreadPoolExecutorUtilTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/infra/common/src/test/java/cn/hippo4j/common/executor/support/ThreadPoolExecutorUtilTest.java b/infra/common/src/test/java/cn/hippo4j/common/executor/support/ThreadPoolExecutorUtilTest.java index 78dfc69a..d35c35c9 100644 --- a/infra/common/src/test/java/cn/hippo4j/common/executor/support/ThreadPoolExecutorUtilTest.java +++ b/infra/common/src/test/java/cn/hippo4j/common/executor/support/ThreadPoolExecutorUtilTest.java @@ -50,6 +50,7 @@ public class ThreadPoolExecutorUtilTest { ); } + @Test public void testEquals(){ // Test when the new core pool size equals the original maximum pool size.