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
878b5e8a
Commit
878b5e8a
authored
Dec 08, 2014
by
Brendan Burns
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
address comments.
parent
1d031b7a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
development.md
docs/devel/development.md
+23
-0
No files found.
docs/devel/development.md
View file @
878b5e8a
...
...
@@ -115,9 +115,13 @@ Pressing control-C should result in an orderly shutdown but if something goes wr
go run e2e.go --down
```
### Flag options
See the flag definitions in
`hack/e2e.go`
for more options, such as reusing an existing cluster, here is an overview:
```
sh
# Build binaries for testing
go run e2e.go
--build
# Create a fresh cluster. Deletes a cluster first, if it exists
go run e2e.go
--up
...
...
@@ -127,6 +131,9 @@ go run e2e.go --isup
# Push code to an existing cluster
go run e2e.go
--push
# Push to an existing cluster, or bring up a cluster if it's down.
go run e2e.go
--pushup
# Run all tests
go run e2e.go
--test
...
...
@@ -134,6 +141,22 @@ go run e2e.go --test
go run e2e.go
--tests
=
...
```
### Combining flags
```
sh
# Flags can be combined, and their actions will take place in this order:
# -build, -push|-up|-pushup, -test|-tests=..., -down
# e.g.:
go run e2e.go
-build
-pushup
-test
-down
# -v (verbose) can be added if you want streaming output instead of only
# seeing the output of failed commands.
# -ctl can be used to quickly call kubectl against your e2e cluster. Useful for
# cleaning up after a failed test or viewing logs.
go run e2e.go
-ctl
=
'get events'
go run e2e.go
-ctl
=
'delete pod foobar'
```
## Testing out flaky tests
[
Instructions here
](
docs/devel/flaky-tests.md
)
...
...
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