|
|
@ -58,7 +58,6 @@ public class ThreadPoolRunStateHandlerTest {
|
|
|
|
poolRunStateInfo.setTpId("1");
|
|
|
|
poolRunStateInfo.setTpId("1");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
void testSupplement(){
|
|
|
|
void testSupplement(){
|
|
|
|
long used = MemoryUtil.heapMemoryUsed();
|
|
|
|
long used = MemoryUtil.heapMemoryUsed();
|
|
|
@ -100,8 +99,6 @@ public class ThreadPoolRunStateHandlerTest {
|
|
|
|
String threadPoolState = ThreadPoolStatusHandler.getThreadPoolState(pool);
|
|
|
|
String threadPoolState = ThreadPoolStatusHandler.getThreadPoolState(pool);
|
|
|
|
manyThreadPoolRunStateInfo.setState(threadPoolState);
|
|
|
|
manyThreadPoolRunStateInfo.setState(threadPoolState);
|
|
|
|
Assertions.assertNotNull(manyThreadPoolRunStateInfo);
|
|
|
|
Assertions.assertNotNull(manyThreadPoolRunStateInfo);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
@ -128,4 +125,3 @@ public class ThreadPoolRunStateHandlerTest {
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|