Added cadvisor test suite to flag info message

The cadvisor test suite is not mentioned in the remote runner's
`--test-suite` flag.
This PR will mention the existence of the cadvisor test suite.
This commit is contained in:
Jorge Alarcon Ochoa 2020-05-23 19:00:10 -04:00 committed by alejandrox1
parent 695cd49c40
commit a069eec2bb

View File

@ -48,7 +48,7 @@ import (
)
var testArgs = flag.String("test_args", "", "Space-separated list of arguments to pass to Ginkgo test runner.")
var testSuite = flag.String("test-suite", "default", "Test suite the runner initializes with. Currently support default|conformance")
var testSuite = flag.String("test-suite", "default", "Test suite the runner initializes with. Currently support default|cadvisor|conformance")
var instanceNamePrefix = flag.String("instance-name-prefix", "", "prefix for instance names")
var zone = flag.String("zone", "", "gce zone the hosts live in")
var project = flag.String("project", "", "gce project the hosts live in")
@ -196,7 +196,7 @@ func main() {
// Use node e2e suite by default if no subcommand is specified.
suite = remote.InitNodeE2ERemote()
default:
klog.Fatalf("--test-suite must be one of default or conformance")
klog.Fatalf("--test-suite must be one of default, cadvisor, or conformance")
}
rand.Seed(time.Now().UnixNano())