From a6fa631e9b66cd7eee91edbd95b08058843034ed Mon Sep 17 00:00:00 2001 From: Vic Iglesias Date: Sat, 8 Oct 2016 14:30:18 -0700 Subject: [PATCH] Add cleanup_log to avoid false negative on cleanup (#103) --- test/changed.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/changed.sh b/test/changed.sh index 54237578bc..3b6c4b5bca 100755 --- a/test/changed.sh +++ b/test/changed.sh @@ -21,9 +21,9 @@ CURRENT_RELEASE="" # Cleanup any releases and namespaces left over from the test function cleanup { if [ -n $CURRENT_RELEASE ];then - helm delete --purge ${CURRENT_RELEASE} || true + helm delete --purge ${CURRENT_RELEASE} > cleanup_log 2>&1 || true fi - kubectl delete ns ${NAMESPACE} || true + kubectl delete ns ${NAMESPACE} >> cleanup_log 2>&1 || true } trap cleanup EXIT