mirror of https://github.com/k3s-io/k3s
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.pull/6/head
parent
f657607d88
commit
168394c6d5
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue