Oooops, fix chained reads

This commit is contained in:
Vitaliy Filippov
2021-04-13 16:19:21 +03:00
parent 0b41ffc08d
commit 966fb763ca
2 changed files with 16 additions and 9 deletions
+4 -2
View File
@@ -23,8 +23,10 @@ trap 'kill -9 $(jobs -p)' EXIT
ETCD=${ETCD:-etcd}
ETCD_PORT=${ETCD_PORT:-12379}
rm -rf ./testdata
mkdir -p ./testdata
if [ "$KEEP_DATA" = "" ]; then
rm -rf ./testdata
mkdir -p ./testdata
fi
$ETCD -name etcd_test --data-dir ./testdata/etcd \
--advertise-client-urls http://127.0.0.1:$ETCD_PORT --listen-client-urls http://127.0.0.1:$ETCD_PORT \