From 168394c6d52ea90e55b11183fff1b6e02df94ef6 Mon Sep 17 00:00:00 2001 From: Joseph Lanoux Date: Thu, 9 Mar 2017 11:24:19 +0000 Subject: [PATCH] Fix the ginkgo nocolor parameter When running the e2e tests in parallel, the ginkgo nocolor is not honored and produces a colored output. This change adds the GINKGO_NO_COLOR environment variable. --- hack/ginkgo-e2e.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hack/ginkgo-e2e.sh b/hack/ginkgo-e2e.sh index 8c00060677..6d18085377 100755 --- a/hack/ginkgo-e2e.sh +++ b/hack/ginkgo-e2e.sh @@ -113,6 +113,10 @@ if [[ "${GINKGO_TOLERATE_FLAKES}" == "y" ]]; then FLAKE_ATTEMPTS=2 fi +if [[ "${GINKGO_NO_COLOR}" == "y" ]]; then + ginkgo_args+=("--noColor") +fi + # The --host setting is used only when providing --auth_config # If --kubeconfig is used, the host to use is retrieved from the .kubeconfig # file and the one provided with --host is ignored.