This is an automated email from the ASF dual-hosted git repository.
liujun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-samples.git
The following commit(s) were added to refs/heads/master by this push:
new 535b5cb Fix failed tests generic-impl, async-onerror(#281)
535b5cb is described below
commit 535b5cb959bb3af4046a2304e69b0c95377b2b55
Author: ken.lj <[email protected]>
AuthorDate: Thu Mar 4 00:24:05 2021 +0800
Fix failed tests generic-impl, async-onerror(#281)
---
.../dubbo-samples-async-onerror/pom.xml | 18 +++++++++++++++---
.../test/resources/spring/generic-impl-consumer.xml | 2 +-
2 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/dubbo-samples-async/dubbo-samples-async-onerror/pom.xml
b/dubbo-samples-async/dubbo-samples-async-onerror/pom.xml
index bfb331b..f20ac95 100644
--- a/dubbo-samples-async/dubbo-samples-async-onerror/pom.xml
+++ b/dubbo-samples-async/dubbo-samples-async-onerror/pom.xml
@@ -99,9 +99,21 @@
<version>${dubbo.configcenter.zookeeper.version}</version>
</dependency>
<dependency>
- <groupId>org.apache.zookeeper</groupId>
- <artifactId>zookeeper</artifactId>
- <version>${zookeeper.version}</version>
+ <groupId>org.apache.dubbo</groupId>
+ <artifactId>dubbo-dependencies-zookeeper</artifactId>
+ <version>${dubbo.version}</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.curator</groupId>
+ <artifactId>curator-x-discovery</artifactId>
+ <version>4.0.1</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.zookeeper</groupId>
+ <artifactId>zookeeper</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
diff --git
a/dubbo-samples-generic/dubbo-samples-generic-impl/dubbo-samples-generic-impl-provider/src/test/resources/spring/generic-impl-consumer.xml
b/dubbo-samples-generic/dubbo-samples-generic-impl/dubbo-samples-generic-impl-provider/src/test/resources/spring/generic-impl-consumer.xml
index 92799b1..37ca70b 100644
---
a/dubbo-samples-generic/dubbo-samples-generic-impl/dubbo-samples-generic-impl-provider/src/test/resources/spring/generic-impl-consumer.xml
+++
b/dubbo-samples-generic/dubbo-samples-generic-impl/dubbo-samples-generic-impl-provider/src/test/resources/spring/generic-impl-consumer.xml
@@ -32,7 +32,7 @@
<!-- generate proxy for the remote service, then demoService can be used
in the same way as the
local regular interface -->
- <dubbo:reference timeout="6000000" id="helloService" check="true"
+ <dubbo:reference timeout="6000000" id="helloService" check="false"
interface="org.apache.dubbo.samples.generic.call.api.HelloService"/>
</beans>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]