File tree 7 files changed +9
-29
lines changed
docs/devel/developer-guides
7 files changed +9
-29
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ test_integration:
98
98
# Example:
99
99
# make test_e2e
100
100
test_e2e :
101
- hack/e2e- test.sh
101
+ go run hack/e2e.go -v --build --up -- test --down
102
102
.PHONY : test_e2e
103
103
104
104
# Remove all build artifacts.
Original file line number Diff line number Diff line change @@ -1413,7 +1413,7 @@ function kube-push {
1413
1413
}
1414
1414
1415
1415
# -----------------------------------------------------------------------------
1416
- # Cluster specific test helpers used from hack/e2e-test.sh
1416
+ # Cluster specific test helpers used from hack/e2e.go
1417
1417
1418
1418
# Execute prior to running tests to build a release if required for env.
1419
1419
#
Original file line number Diff line number Diff line change @@ -1180,7 +1180,7 @@ function kube-push {
1180
1180
}
1181
1181
1182
1182
# -----------------------------------------------------------------------------
1183
- # Cluster specific test helpers used from hack/e2e-test.sh
1183
+ # Cluster specific test helpers used from hack/e2e.go
1184
1184
1185
1185
# Execute prior to running tests to build a release if required for env.
1186
1186
#
Original file line number Diff line number Diff line change @@ -282,8 +282,8 @@ function restart-apiserver() {
282
282
}
283
283
284
284
# Execute after running tests to perform any required clean-up. This is called
285
- # from hack/e2e-test.sh . This calls kube-down, so the cluster still exists when
286
- # this is called.
285
+ # from hack/e2e.go . This calls kube-down, so the cluster still exists when this
286
+ # is called.
287
287
#
288
288
# Assumed vars:
289
289
# CLUSTER_NAME
Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ Congratulations!
302
302
The following will run all of the end-to-end testing scenarios assuming you set your environment in ` cluster/kube-env.sh ` :
303
303
304
304
``` sh
305
- NUM_NODES=3 hack/e2e- test.sh
305
+ NUM_NODES=3 go run hack/e2e.go -v --build --up -- test --down
306
306
```
307
307
308
308
### Troubleshooting
Original file line number Diff line number Diff line change 39
39
# About the conformance test:
40
40
# The conformance test checks whether a kubernetes cluster supports
41
41
# a minimum set of features to be called "Kubernetes". It is similar
42
- # to `hack/e2e-test.sh ` but it differs in that:
43
- # - hack/e2e-test.sh is intended to test a cluster with binaries built at HEAD,
42
+ # to `hack/e2e.go ` but it differs in that:
43
+ # - hack/e2e.go is intended to test a cluster with binaries built at HEAD,
44
44
# while this conformance test does not care what version the binaries are.
45
45
# - this means the user needs to setup a cluster first.
46
46
# - this means the user does not need to write any cluster/... scripts. Custom
47
47
# clusters can be tested.
48
- # - hack/e2e-test.sh is intended to run e2e tests built at HEAD, while
48
+ # - hack/e2e.go is intended to run e2e tests built at HEAD, while
49
49
# this conformance test is intended to be run e2e tests built at a particular
50
50
# version. This ensures that all conformance testees run the same set of tests,
51
51
# regardless of when they test for conformance.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments