From 5c56caf7357dd00dda6a17eff3a05e340d25b9c1 Mon Sep 17 00:00:00 2001 From: stellar <137587347+Stellar1999@users.noreply.github.com> Date: Sun, 19 Jan 2025 22:21:04 +0800 Subject: [PATCH] dubbo-rpc module remove dubbo-test-check (#15064) * dubbo-rpc module remove dubbo-test-check * fix:create executor should be removed --- dubbo-rpc/dubbo-rpc-dubbo/pom.xml | 1 - .../dubbo/managemode/WrappedChannelHandlerTest.java | 3 +++ dubbo-rpc/pom.xml | 8 -------- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/dubbo-rpc/dubbo-rpc-dubbo/pom.xml b/dubbo-rpc/dubbo-rpc-dubbo/pom.xml index d78a4a3430c..f7082ed8bff 100644 --- a/dubbo-rpc/dubbo-rpc-dubbo/pom.xml +++ b/dubbo-rpc/dubbo-rpc-dubbo/pom.xml @@ -69,7 +69,6 @@ ${project.parent.version} test - javax.validation validation-api diff --git a/dubbo-rpc/dubbo-rpc-dubbo/src/test/java/org/apache/dubbo/rpc/protocol/dubbo/managemode/WrappedChannelHandlerTest.java b/dubbo-rpc/dubbo-rpc-dubbo/src/test/java/org/apache/dubbo/rpc/protocol/dubbo/managemode/WrappedChannelHandlerTest.java index a95d9ba2290..ae961affc6f 100644 --- a/dubbo-rpc/dubbo-rpc-dubbo/src/test/java/org/apache/dubbo/rpc/protocol/dubbo/managemode/WrappedChannelHandlerTest.java +++ b/dubbo-rpc/dubbo-rpc-dubbo/src/test/java/org/apache/dubbo/rpc/protocol/dubbo/managemode/WrappedChannelHandlerTest.java @@ -27,6 +27,7 @@ import org.apache.dubbo.remoting.exchange.support.DefaultFuture; import org.apache.dubbo.remoting.transport.dispatcher.WrappedChannelHandler; import org.apache.dubbo.rpc.model.ApplicationModel; +import org.apache.dubbo.rpc.model.FrameworkModel; import java.lang.reflect.Field; import java.util.concurrent.ExecutorService; @@ -135,6 +136,8 @@ void testGetExecutor() { preferredExecutorService = handler.getPreferredExecutorService(response); Assertions.assertEquals(preferredExecutorService, executor); future.cancel(); + + FrameworkModel.destroyAll(); } class BizChannelHandler extends MockedChannelHandler { diff --git a/dubbo-rpc/pom.xml b/dubbo-rpc/pom.xml index dc21d034bd5..84f2738dd8a 100644 --- a/dubbo-rpc/pom.xml +++ b/dubbo-rpc/pom.xml @@ -37,12 +37,4 @@ false - - - org.apache.dubbo - dubbo-test-check - ${project.parent.version} - test - -