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 - -