Skip to content

Commit

Permalink
add etcd integrate test (apache#107)
Browse files Browse the repository at this point in the history
* add etcd integrate test

* change etcd ip
  • Loading branch information
ztelur authored May 15, 2021
1 parent 480e220 commit 30a4239
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions registry/etcd/go-server/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions start_integrate_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 30a4239

Please sign in to comment.