diff --git a/test/Makefile b/test/Makefile index 8b6a51a0d..4c3e405e4 100644 --- a/test/Makefile +++ b/test/Makefile @@ -225,10 +225,12 @@ setup_kruise: docker pull $${IMAGE} ; \ kind load docker-image $${IMAGE} --name $(E2E_CLUSTER_NAME); \ done; \ - HELM_OPTION=" --wait --timeout 20m --debug --set manager.image.repository=$(E2E_OPENKRUISE_IMAGE) " ; \ + HELM_OPTION=" --wait --timeout 5m --debug --set manager.image.repository=$(E2E_OPENKRUISE_IMAGE) " ; \ HELM_OPTION+=" --version $(E2E_OPENKRUISE_VERSION) " ; \ helm upgrade --install kruise openkruise/kruise $${HELM_OPTION} \ --kubeconfig $(E2E_KUBECONFIG) || { \ + echo "error, failed to install openkruise" ; \ + kubectl get pods -n kruise-system --kubeconfig $(E2E_KUBECONFIG) ; \ kubectl describe pod -n kruise-system --kubeconfig $(E2E_KUBECONFIG) ; \ KIND_CLUSTER_NAME=$(E2E_CLUSTER_NAME) ./scripts/debugEnv.sh $(E2E_KUBECONFIG) "detail" "$(E2E_LOG_FILE)" ; exit 1 ; \ } ; \