Skip to content

Commit

Permalink
tree: import changes from testing-devel at 837c91f
Browse files Browse the repository at this point in the history
  • Loading branch information
coreosbot committed Aug 18, 2021
1 parent 59eefa0 commit 68cc80f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/kola/misc-ign-ro/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ ok "kube-watch.path successfully activated"
touch /etc/kubernetes/kubeconfig
ok "successfully created /etc/kubernetes/kubeconfig"

# If we check the status too soon it could still be activating..
# Sleep in a loop until it's done "activating"
while [ "$(systemctl is-active kube-watch.service)" == "activating" ]; do
echo "kube-watch is activating. sleeping for 1 second"
sleep 1
done
if [ "$(systemctl is-active kube-watch.service)" != "active" ]; then
fatal "kube-watch.service did not successfully activate"
fi
Expand Down

0 comments on commit 68cc80f

Please sign in to comment.