From fbc39f9c028a07117b1973ac881fd62cd4eb1aad Mon Sep 17 00:00:00 2001 From: Antonio Ojea Date: Tue, 19 Jul 2022 08:32:11 +0200 Subject: [PATCH] set ginkgo interncepto mode to none to avoid hangs --- hack/ginkgo-e2e.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hack/ginkgo-e2e.sh b/hack/ginkgo-e2e.sh index 43bbe9b6b9c..ffb2a47dd46 100755 --- a/hack/ginkgo-e2e.sh +++ b/hack/ginkgo-e2e.sh @@ -168,10 +168,13 @@ fi # NOTE: Ginkgo's default timeout has been reduced from 24h to 1h in V2, set it manually here as "24h" # for backward compatibility purpose. +# Set --output-interceptor-mode= none to circumvent cases where the code grabbing the stdout/stderr pipe +# is not under the framework control and may cause hangs (https://github.com/onsi/ginkgo/issues/851) "${program[@]}" "${ginkgo_args[@]:+${ginkgo_args[@]}}" "${e2e_test}" -- \ "${auth_config[@]:+${auth_config[@]}}" \ --ginkgo.flake-attempts="${FLAKE_ATTEMPTS}" \ --ginkgo.timeout="24h" \ + --ginkgo.output-interceptor-mode=none \ --host="${KUBE_MASTER_URL}" \ --provider="${KUBERNETES_PROVIDER}" \ --gce-project="${PROJECT:-}" \