mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Add more integration test cases
Change-Id: I892d35380b3e968553bbeb3092c16f5ae5b110b7 Signed-off-by: Li Yi <denverdino@gmail.com>
This commit is contained in:
parent
824bdec0bd
commit
0e2ff9dd71
1 changed files with 3 additions and 2 deletions
|
@ -134,12 +134,13 @@ function start_dnet() {
|
|||
mkdir -p /tmp/dnet/${name}
|
||||
tomlfile="/tmp/dnet/${name}/libnetwork.toml"
|
||||
|
||||
# Try discovery URLs with or without path
|
||||
if [ "$store" = "zookeeper" ]; then
|
||||
read discovery provider address < <(parse_discovery_str zk://${bridge_ip}:2182)
|
||||
elif [ "$store" = "etcd" ]; then
|
||||
read discovery provider address < <(parse_discovery_str etcd://${bridge_ip}:42000)
|
||||
read discovery provider address < <(parse_discovery_str etcd://${bridge_ip}:42000/custom_prefix)
|
||||
else
|
||||
read discovery provider address < <(parse_discovery_str consul://${bridge_ip}:8500)
|
||||
read discovery provider address < <(parse_discovery_str consul://${bridge_ip}:8500/custom_prefix)
|
||||
fi
|
||||
|
||||
cat > ${tomlfile} <<EOF
|
||||
|
|
Loading…
Add table
Reference in a new issue