mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 07:01:13 +02:00
Merge pull request #387 from crawford/ami
oem/ami: update tests for etcd2
This commit is contained in:
commit
1c5ce61bb2
@ -156,6 +156,9 @@ for host in ${ips[@]}; do
|
|||||||
done
|
done
|
||||||
echo "OK ($instances)"
|
echo "OK ($instances)"
|
||||||
|
|
||||||
|
echo "Letting etcd settle..."
|
||||||
|
sleep 10
|
||||||
|
|
||||||
echo "Running coretest..."
|
echo "Running coretest..."
|
||||||
for host in ${ips[@]}; do
|
for host in ${ips[@]}; do
|
||||||
if ! ssh -i "$key_file" -l core -o StrictHostKeyChecking=no "$host" \
|
if ! ssh -i "$key_file" -l core -o StrictHostKeyChecking=no "$host" \
|
||||||
@ -168,7 +171,7 @@ done
|
|||||||
echo "OK"
|
echo "OK"
|
||||||
|
|
||||||
echo -n "Testing etcd... "
|
echo -n "Testing etcd... "
|
||||||
test_key="v1/keys/test"
|
test_key="v2/keys/test"
|
||||||
token=$(uuidgen)
|
token=$(uuidgen)
|
||||||
# XXX: the sleep *should never* be required, this is a bug in etcd
|
# XXX: the sleep *should never* be required, this is a bug in etcd
|
||||||
sleep 5
|
sleep 5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user