Skip to content

Commit

Permalink
chore(test): improve test cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mflendrich committed Oct 13, 2020
1 parent f096104 commit 4a37bc1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/integration/util/run-one-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ fail_usage() {

cleanup() {
echo ">>> Test $CASE_NAME: cleanup"
for kind in ingress kongplugin kongconsumer
do
kubectl delete "$kind" --all-namespaces --all
done
kubectl delete -f "$CASE_PATH"
}
trap cleanup EXIT

Expand Down

0 comments on commit 4a37bc1

Please sign in to comment.