Skip to content

Commit

Permalink
dubbo-rpc module remove dubbo-test-check (#15064)
Browse files Browse the repository at this point in the history
* dubbo-rpc module remove dubbo-test-check

* fix:create executor should be removed
  • Loading branch information
Stellar1999 authored Jan 19, 2025
1 parent 2582d78 commit 5c56caf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
1 change: 0 additions & 1 deletion dubbo-rpc/dubbo-rpc-dubbo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
<version>${project.parent.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -135,6 +136,8 @@ void testGetExecutor() {
preferredExecutorService = handler.getPreferredExecutorService(response);
Assertions.assertEquals(preferredExecutorService, executor);
future.cancel();

FrameworkModel.destroyAll();
}

class BizChannelHandler extends MockedChannelHandler {
Expand Down
8 changes: 0 additions & 8 deletions dubbo-rpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 5c56caf

Please sign in to comment.