mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 15:58:37 +00:00
Merge pull request #4207 from zmerlynn/gingko_flags
Move verbosity flag into driver.go, randomize specs
This commit is contained in:
commit
36b063ddd0
@ -102,6 +102,5 @@ fi
|
|||||||
"${e2e}" "${auth_config[@]:+${auth_config[@]}}" \
|
"${e2e}" "${auth_config[@]:+${auth_config[@]}}" \
|
||||||
--host="https://${KUBE_MASTER_IP-}" \
|
--host="https://${KUBE_MASTER_IP-}" \
|
||||||
--provider="${KUBERNETES_PROVIDER}" \
|
--provider="${KUBERNETES_PROVIDER}" \
|
||||||
--ginkgo.v \
|
|
||||||
${E2E_REPORT_DIR+"--report_dir=${E2E_REPORT_DIR}"} \
|
${E2E_REPORT_DIR+"--report_dir=${E2E_REPORT_DIR}"} \
|
||||||
"${@}"
|
"${@}"
|
||||||
|
@ -35,6 +35,12 @@ func init() {
|
|||||||
// Turn off colors by default to make it easier to collect console output in Jenkins
|
// Turn off colors by default to make it easier to collect console output in Jenkins
|
||||||
// Override colors off with --ginkgo.noColor=false in the command-line
|
// Override colors off with --ginkgo.noColor=false in the command-line
|
||||||
config.DefaultReporterConfig.NoColor = true
|
config.DefaultReporterConfig.NoColor = true
|
||||||
|
|
||||||
|
// Turn on verbose by default to get spec names
|
||||||
|
config.DefaultReporterConfig.Verbose = true
|
||||||
|
|
||||||
|
// Randomize specs as well as suites
|
||||||
|
config.GinkgoConfig.RandomizeAllSpecs = true
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *testResult) Fail() { *t = false }
|
func (t *testResult) Fail() { *t = false }
|
||||||
|
Loading…
Reference in New Issue
Block a user