Commit 9fece09f authored by David Reynolds's avatar David Reynolds

Use -addr in start_etcd instead of -bind-addr

parent d6dee3ca
...@@ -59,8 +59,8 @@ function start_etcd { ...@@ -59,8 +59,8 @@ function start_etcd {
# Start etcd # Start etcd
export ETCD_DIR=$(mktemp -d -t test-etcd.XXXXXX) export ETCD_DIR=$(mktemp -d -t test-etcd.XXXXXX)
etcd -name test -data-dir ${ETCD_DIR} -bind-addr ${host}:${port} >/dev/null 2>/dev/null & etcd -name test -data-dir ${ETCD_DIR} -addr ${host}:${port} >/dev/null 2>/dev/null &
export ETCD_PID=$! export ETCD_PID=$!
wait_for_url "http://localhost:4001/v2/keys/" "etcd: " wait_for_url "http://localhost:4001/v2/keys/" "etcd: "
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment