mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Merge pull request #4229 from zmerlynn/gingko_flags
Turn on color, turn on EmitSpecProgress
This commit is contained in:
commit
172b2d0fb2
@ -32,13 +32,12 @@ import (
|
|||||||
type testResult bool
|
type testResult bool
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
// 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
|
|
||||||
config.DefaultReporterConfig.NoColor = true
|
|
||||||
|
|
||||||
// Turn on verbose by default to get spec names
|
// Turn on verbose by default to get spec names
|
||||||
config.DefaultReporterConfig.Verbose = true
|
config.DefaultReporterConfig.Verbose = true
|
||||||
|
|
||||||
|
// Turn on EmitSpecProgress to get spec progress (especially on interrupt)
|
||||||
|
config.GinkgoConfig.EmitSpecProgress = true
|
||||||
|
|
||||||
// Randomize specs as well as suites
|
// Randomize specs as well as suites
|
||||||
config.GinkgoConfig.RandomizeAllSpecs = true
|
config.GinkgoConfig.RandomizeAllSpecs = true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user