Skip to content

Commit

Permalink
Kokoro: add delay between service and cluster deletions (#138)
Browse files Browse the repository at this point in the history
* Kokoro: add delay between service and cluster deletions

* Address ahmetb's comments
  • Loading branch information
Ace Nassri committed Jan 11, 2018
1 parent acb0360 commit f2694d4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .kokoro/e2e_tests_docker.sh
Expand Up @@ -35,6 +35,9 @@ function cleanup {
kubectl delete -f bookshelf-worker-${DATA_BACKEND}.yaml || true
kubectl delete -f bookshelf-service.yaml || true

# Wait for service deletion to finalize
sleep 120;

# Delete the cluster
gcloud container clusters delete bookshelf --zone $ZONE -q || true

Expand Down Expand Up @@ -116,4 +119,4 @@ npm run e2e
# Exit on error
if [[ $CODE -ne 0 ]]; then
exit $CODE
fi
fi

0 comments on commit f2694d4

Please sign in to comment.