Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
afec30c7
Commit
afec30c7
authored
Sep 28, 2017
by
Sen Lu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Abort if not default nor conformance
parent
69df66c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
run_remote.go
test/e2e_node/runner/remote/run_remote.go
+4
-2
No files found.
test/e2e_node/runner/remote/run_remote.go
View file @
afec30c7
...
...
@@ -45,7 +45,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"
,
"
"
,
"Test suite the runner initializes with.
"
)
var
testSuite
=
flag
.
String
(
"test-suite"
,
"
default"
,
"Test suite the runner initializes with. Currently support default|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"
)
...
...
@@ -150,9 +150,11 @@ func main() {
case
"conformance"
:
suite
=
remote
.
InitConformanceRemote
()
// TODO: Add subcommand for node soaking, node conformance, cri validation.
default
:
case
"default"
:
// Use node e2e suite by default if no subcommand is specified.
suite
=
remote
.
InitNodeE2ERemote
()
default
:
glog
.
Fatalf
(
"--test-suite must be one of default or conformance"
)
}
rand
.
Seed
(
time
.
Now
()
.
UTC
()
.
UnixNano
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment