mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
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.
This commit is contained in:
parent
f657607d88
commit
168394c6d5
@ -113,6 +113,10 @@ if [[ "${GINKGO_TOLERATE_FLAKES}" == "y" ]]; then
|
|||||||
FLAKE_ATTEMPTS=2
|
FLAKE_ATTEMPTS=2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "${GINKGO_NO_COLOR}" == "y" ]]; then
|
||||||
|
ginkgo_args+=("--noColor")
|
||||||
|
fi
|
||||||
|
|
||||||
# The --host setting is used only when providing --auth_config
|
# The --host setting is used only when providing --auth_config
|
||||||
# If --kubeconfig is used, the host to use is retrieved from the .kubeconfig
|
# If --kubeconfig is used, the host to use is retrieved from the .kubeconfig
|
||||||
# file and the one provided with --host is ignored.
|
# file and the one provided with --host is ignored.
|
||||||
|
Loading…
Reference in New Issue
Block a user