diff options
| author | k8s-merge-robot <k8s.production.user@gmail.com> | 2016-07-08 15:16:40 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-07-08 15:16:40 -0700 |
| commit | b8ad2cda40afb88844ece1e5591422d378c52fdd (patch) | |
| tree | c5b505ab5786c2cdfc4f77936be4a5bbaa1fa6db /testing.md | |
| parent | 3891f09e19b01250290371947375e36578947c87 (diff) | |
| parent | 93895639713595781c57ff682a4df2f34d48ae0a (diff) | |
Merge pull request #27412 from liggitt/test-etcd-dir
Automatic merge from submit-queue
Allow specifying base location for test etcd data
Allows controlling where etcd test data goes. Needed in some environments (like AWS/EBS) to allow putting etcd data on a higher performing volume than /tmp
Diffstat (limited to 'testing.md')
| -rw-r--r-- | testing.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -50,6 +50,7 @@ Updated: 5/21/2016 - [Benchmark unit tests](#benchmark-unit-tests) - [Integration tests](#integration-tests) - [Install etcd dependency](#install-etcd-dependency) + - [Etcd test data](#etcd-test-data) - [Run integration tests](#run-integration-tests) - [Run a specific integration test](#run-a-specific-integration-test) - [End-to-End tests](#end-to-end-tests) @@ -213,6 +214,14 @@ grep -E "image.*etcd" cluster/saltbase/etcd/etcd.manifest # Find version echo export PATH="$PATH:<LOCATION>" >> ~/.profile # Add to PATH ``` +### Etcd test data + +Many tests start an etcd server internally, storing test data in the operating system's temporary directory. + +If you see test failures because the temporary directory does not have sufficient space, +or is on a volume with unpredictable write latency, you can override the test data directory +for those internal etcd instances with the `TEST_ETCD_DIR` environment variable. + ### Run integration tests The integration tests are run using the `hack/test-integration.sh` script. |
