Merge pull request #91384 from alejandrox1/alejandrox1-patch-1

Added cadvisor test suite to flag info message
This commit is contained in:
Kubernetes Prow Robot 2020-05-26 16:48:56 -07:00 committed by GitHub
commit 30eeacbf22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 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 instanceNamePrefix = flag.String("instance-name-prefix", "", "prefix for instance names")
var zone = flag.String("zone", "", "gce zone the hosts live in") var zone = flag.String("zone", "", "gce zone the hosts live in")
var project = flag.String("project", "", "gce project 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. // Use node e2e suite by default if no subcommand is specified.
suite = remote.InitNodeE2ERemote() suite = remote.InitNodeE2ERemote()
default: 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()) rand.Seed(time.Now().UnixNano())