Merge pull request #3065 from rn/wireguard

tests: Fix wireguard test shutdown
This commit is contained in:
Justin Cormack 2018-06-09 10:27:50 -07:00 committed by GitHub
commit 154a5b3ea6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,8 +20,8 @@ fi
# Nginx may not be up immediately as service startup is async
for s in $(seq 1 10)
do
wget -O - http://192.168.2.1/ && echo "success" > /tmp/ok && halt
wget -O - http://192.168.2.1/ && echo "success" > /tmp/ok && poweroff
sleep 1
done
poweroff -f
poweroff