mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 15:11:19 +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
|
||||
echo "OK ($instances)"
|
||||
|
||||
echo "Letting etcd settle..."
|
||||
sleep 10
|
||||
|
||||
echo "Running coretest..."
|
||||
for host in ${ips[@]}; do
|
||||
if ! ssh -i "$key_file" -l core -o StrictHostKeyChecking=no "$host" \
|
||||
@ -168,7 +171,7 @@ done
|
||||
echo "OK"
|
||||
|
||||
echo -n "Testing etcd... "
|
||||
test_key="v1/keys/test"
|
||||
test_key="v2/keys/test"
|
||||
token=$(uuidgen)
|
||||
# XXX: the sleep *should never* be required, this is a bug in etcd
|
||||
sleep 5
|
||||
|
Loading…
x
Reference in New Issue
Block a user