Commit 567fb4c2 authored by Geoff Simmons's avatar Geoff Simmons

Add "wait for delete" to the undeploy code for an example/test.

The Pods were not always fully deleted when the next test began
in the longer e2e test script, which interfered with execution.
parent 52f38dca
......@@ -30,6 +30,7 @@ mkpath := $(abspath $(lastword $(MAKEFILE_LIST)))
mkdir := $(dir $(mkpath))
CHARTDIR=$(mkdir)/../../../charts
TESTDIR=$(mkdir)/../../../test
GEN_SECRET=head -c32 /dev/urandom | base64 | tr +/ -_
......@@ -120,6 +121,7 @@ undeploy-helm:
@helm uninstall coffee-ingress --namespace coffee
@helm uninstall viking-service-clusterwide --namespace kube-system
@kubectl delete -f namespace.yaml
$(TESTDIR)/wait_delete.sh app=varnish-ingress kube-system
undeploy-kubectl:
@kubectl delete -f other-ingress.yaml
......@@ -134,6 +136,7 @@ undeploy-kubectl:
@kubectl delete -f coffee.yaml
@kubectl delete -f rbac.yaml
@kubectl delete -f namespace.yaml
$(TESTDIR)/wait_delete.sh app=varnish-ingress kube-system
undeploy:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment