mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 13:02:14 +00:00
Merge pull request #1270 from satnam6502/master
Improve the documentation for end-to-end tests.
This commit is contained in:
commit
7de0989a4e
@ -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
Block a user