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

alexstocks pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo-go-samples.git


The following commit(s) were added to refs/heads/3.0 by this push:
     new 30a4239  add etcd integrate test (#107)
30a4239 is described below

commit 30a423945eb8488db28b97b0dc86f07c42b241b8
Author: randy <[email protected]>
AuthorDate: Sat May 15 19:02:03 2021 +0800

    add etcd integrate test (#107)
    
    * add etcd integrate test
    
    * change etcd ip
---
 registry/etcd/go-server/docker/docker-compose.yml | 6 +++---
 start_integrate_test.sh                           | 2 ++
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/registry/etcd/go-server/docker/docker-compose.yml 
b/registry/etcd/go-server/docker/docker-compose.yml
index 18c9d27..50f97ae 100644
--- a/registry/etcd/go-server/docker/docker-compose.yml
+++ b/registry/etcd/go-server/docker/docker-compose.yml
@@ -9,11 +9,11 @@ services:
     command: [
         "etcd",
         "--name=etcd0",
-        "--advertise-client-urls=http://${DOCKER_HOST_IP}:2379";,
+        "--advertise-client-urls=http://127.0.0.1:2379";,
         "--listen-client-urls=http://0.0.0.0:2379";,
-        "--initial-advertise-peer-urls=http://${DOCKER_HOST_IP}:2380";,
+        "--initial-advertise-peer-urls=http://127.0.0.1:2380";,
         "--listen-peer-urls=http://0.0.0.0:2380";,
-        "--initial-cluster=etcd0=http://${DOCKER_HOST_IP}:2380";,
+        "--initial-cluster=etcd0=http://127.0.0.1:2380";,
     ]
     ports:
       - "2379:2379"
diff --git a/start_integrate_test.sh b/start_integrate_test.sh
index b204df0..97086ff 100755
--- a/start_integrate_test.sh
+++ b/start_integrate_test.sh
@@ -44,6 +44,8 @@ array+=("metric/go-server")
 # array+=("multi-registry/go-server")
 
 array+=("registry/zookeeper/go-server")
+array+=("registry/etcd/go-server")
+
 
 # registry/servicediscovery/zookeeper
 array+=("registry/servicediscovery/zookeeper/go-server")

Reply via email to