This is an automated email from the ASF dual-hosted git repository.

albumenj 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 622e9bf  fix integration test: only one serviceBean can be exported 
for the same triple(group interface  version) (#308)
622e9bf is described below

commit 622e9bfaf0641e91d13e79af561b0d2f4782f05b
Author: zhox <[email protected]>
AuthorDate: Wed May 5 20:11:53 2021 +0800

    fix integration test: only one serviceBean can be exported for the same 
triple(group interface  version) (#308)
    
    Co-authored-by: zhongxiong.zeng <[email protected]>
---
 .../src/main/resources/spring/configcenter-provider.xml             | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/dubbo-samples-configcenter/dubbo-samples-configcenter-multiprotocol/src/main/resources/spring/configcenter-provider.xml
 
b/dubbo-samples-configcenter/dubbo-samples-configcenter-multiprotocol/src/main/resources/spring/configcenter-provider.xml
index c660b45..deabb92 100644
--- 
a/dubbo-samples-configcenter/dubbo-samples-configcenter-multiprotocol/src/main/resources/spring/configcenter-provider.xml
+++ 
b/dubbo-samples-configcenter/dubbo-samples-configcenter-multiprotocol/src/main/resources/spring/configcenter-provider.xml
@@ -28,11 +28,11 @@
     <dubbo:config-center 
address="zookeeper://${zookeeper.address:127.0.0.1}:2181"/>
 
     <bean id="demoService" 
class="org.apache.dubbo.samples.configcenter.impl.DemoServiceImpl"/>
-    <dubbo:service id="dubbo1DemoService" protocol="dubbo1"
+    <dubbo:service protocol="dubbo1"
                    
interface="org.apache.dubbo.samples.configcenter.api.DemoService"
                    ref="demoService"/>
-    <dubbo:service id="dubbo2DemoService" protocol="dubbo2"
+    <dubbo:service protocol="dubbo2"
                    
interface="org.apache.dubbo.samples.configcenter.api.DemoService"
-                   ref="demoService"/>
+                   ref="demoService" group="groupA"/>
 
 </beans>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to