This is an automated email from the ASF dual-hosted git repository.
crazyhzm pushed a commit to branch 3.3
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.3 by this push:
new 5c56caf735 dubbo-rpc module remove dubbo-test-check (#15064)
5c56caf735 is described below
commit 5c56caf7357dd00dda6a17eff3a05e340d25b9c1
Author: stellar <[email protected]>
AuthorDate: Sun Jan 19 22:21:04 2025 +0800
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 -
.../rpc/protocol/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 d78a4a3430..f7082ed8bf 100644
--- a/dubbo-rpc/dubbo-rpc-dubbo/pom.xml
+++ b/dubbo-rpc/dubbo-rpc-dubbo/pom.xml
@@ -69,7 +69,6 @@
<version>${project.parent.version}</version>
<scope>test</scope>
</dependency>
-
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
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 a95d9ba229..ae961affc6 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.Response;
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 @@ class WrappedChannelHandlerTest {
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 dc21d034bd..84f2738dd8 100644
--- a/dubbo-rpc/pom.xml
+++ b/dubbo-rpc/pom.xml
@@ -37,12 +37,4 @@
<skip_maven_deploy>false</skip_maven_deploy>
</properties>
- <dependencies>
- <dependency>
- <groupId>org.apache.dubbo</groupId>
- <artifactId>dubbo-test-check</artifactId>
- <version>${project.parent.version}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
</project>