mirror of https://github.com/k3s-io/k3s
Improve the documentation for end-to-end tests.
parent
c378b7b022
commit
b16ac5dc0e
|
@ -169,13 +169,17 @@ hack/test-integration.sh
|
|||
|
||||
### End-to-End tests
|
||||
|
||||
With a GCE account set up for running `cluster/kube-up.sh` (see Setup above):
|
||||
|
||||
You can run an end-to-end test which will bring up a master and two minions, perform some tests, and then tear everything down. Make sure you have followed the getting started steps for your chosen cloud platform (which might involve changing the `KUBERNETES_PROVIDER` environment variable to something other than "gce".
|
||||
```
|
||||
cd kubernetes
|
||||
hack/e2e-test.sh
|
||||
```
|
||||
|
||||
Pressing control-C should result in an orderly shutdown but if something goes wrong and you still have some VMs running you can force a cleanup with the magical incantation:
|
||||
```
|
||||
hack/e2e-test.sh 1 1 1
|
||||
```
|
||||
|
||||
### Testing out flaky tests
|
||||
[Instructions here](https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/flaky-tests.md)
|
||||
|
||||
|
|
Loading…
Reference in New Issue