Set wait for deletion for federation apiserver kubectl tests

This commit is contained in:
nikhiljindal
2017-03-07 13:59:21 -08:00
parent 3a1db2f76b
commit ded881db20
2 changed files with 13 additions and 0 deletions

View File

@@ -77,6 +77,10 @@ run_federation_apiserver
run_federation_controller_manager
# TODO: Fix for secrets, replicasets and deployments.
SUPPORTED_RESOURCES=("configmaps" "daemonsets" "events" "ingress" "namespaces" "services")
# Set wait for deletion to true for federation apiserver since resources are
# deleted asynchronously.
# This is a temporary workaround until https://github.com/kubernetes/kubernetes/issues/42594 is fixed.
WAIT_FOR_DELETION="true"
# WARNING: Do not wrap this call in a subshell to capture output, e.g. output=$(runTests)
# Doing so will suppress errexit behavior inside runTests
runTests