Remove unneeded return code handling in ci script
@@ -36,8 +36,6 @@ function run-integration-tests() {
export TEST_ASSET_ETCD="${TEST_ASSET_PATH}/etcd"
export TEST_ASSET_KUBE_APISERVER="${TEST_ASSET_PATH}/kube-apiserver"
go test -v ./test/integration
- rc=$((rc || $?))
- return ${rc}
}
function launch-minikube-cluster() {
@@ -55,14 +53,10 @@ function launch-minikube-cluster() {
function run-e2e-tests() {
${E2E_TEST_CMD}
- rc=$((rc || $?))
- return ${rc}
}
function run-namespaced-e2e-tests() {
${E2E_TEST_CMD} -federation-namespace=foo -registry-namespace=foo -limited-scope=true
- rc=$((rc || $?))
- return ${rc}
}
function check-kubebuilder-output() {
@@ -95,8 +89,6 @@ cd "$base_dir" || {
exit 1
}
-rc=0
-
echo "Downloading test dependencies"
./scripts/download-binaries.sh
@@ -134,5 +126,3 @@ FEDERATION_NAMESPACE=foo NAMESPACED=y DOCKER_PUSH=false ./scripts/deploy-federat
echo "Running go e2e tests"
run-namespaced-e2e-tests
-
-exit $rc
