diff --git a/99-integration/dubbo-samples-test-13787/case-configuration.yml b/99-integration/dubbo-samples-test-13787/case-configuration.yml index fe4eb75d..d5f2f9d5 100644 --- a/99-integration/dubbo-samples-test-13787/case-configuration.yml +++ b/99-integration/dubbo-samples-test-13787/case-configuration.yml @@ -36,7 +36,7 @@ services: type: test basedir: . tests: - - "ConsumerIT.class" + - "**/*IT.class" systemProps: - zookeeper.address=zookeeper waitPortsBeforeRun: diff --git a/99-integration/dubbo-samples-test-13787/src/main/java/org/apache/dubbo/samples/test/DubboProvider.java b/99-integration/dubbo-samples-test-13787/src/main/java/org/apache/dubbo/samples/test/DubboProvider.java index 318f4041..6f9c3260 100644 --- a/99-integration/dubbo-samples-test-13787/src/main/java/org/apache/dubbo/samples/test/DubboProvider.java +++ b/99-integration/dubbo-samples-test-13787/src/main/java/org/apache/dubbo/samples/test/DubboProvider.java @@ -23,14 +23,16 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import java.util.concurrent.CountDownLatch; @SpringBootApplication @EnableDubbo public class DubboProvider { - public static void main(String[] args) { + public static void main(String[] args) throws InterruptedException { SpringApplication.run(DubboProvider.class, args); System.out.println("dubbo service started"); + new CountDownLatch(1).await(); } } diff --git a/99-integration/dubbo-samples-test-13787/src/main/resources/application.yml b/99-integration/dubbo-samples-test-13787/src/main/resources/application.yml index ebee8c3c..375c9d7e 100644 --- a/99-integration/dubbo-samples-test-13787/src/main/resources/application.yml +++ b/99-integration/dubbo-samples-test-13787/src/main/resources/application.yml @@ -24,6 +24,10 @@ dubbo: application: name: provider + protocol: + name: dubbo + port: 20880 + registry: address: zookeeper://${zookeeper.address:127.0.0.1}:2181