You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2023/01/11 06:30:27 UTC
[dubbo] branch 3.1 updated: Fix test cases for service name mapping (#11280)
This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch 3.1
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.1 by this push:
new fc00efd704 Fix test cases for service name mapping (#11280)
fc00efd704 is described below
commit fc00efd7047d01c5fec4254549588d7dcfdf33d7
Author: Albumen Kevin <jh...@gmail.com>
AuthorDate: Wed Jan 11 14:30:19 2023 +0800
Fix test cases for service name mapping (#11280)
---
.../src/test/java/org/apache/dubbo/config/ServiceConfigTest.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/ServiceConfigTest.java b/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/ServiceConfigTest.java
index 0e676ba427..8adbc61a15 100644
--- a/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/ServiceConfigTest.java
+++ b/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/ServiceConfigTest.java
@@ -544,6 +544,7 @@ class ServiceConfigTest {
FrameworkModel frameworkModel = new FrameworkModel();
ApplicationModel applicationModel = frameworkModel.newApplication();
ServiceConfig<DemoService> serviceConfig = new ServiceConfig<>(applicationModel.newModule());
+ serviceConfig.exported();
ScheduledExecutorService scheduledExecutorService = Executors.newScheduledThreadPool(1);
AtomicInteger count = new AtomicInteger(0);
ServiceNameMapping serviceNameMapping = new ServiceNameMapping() {