test: add ThreadPoolRunStateHandler

pull/1200/head
Pan-YuJie 2 years ago
parent 088970d80a
commit 6edc76c106

@ -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 {
} }

Loading…
Cancel
Save