summaryrefslogtreecommitdiff
path: root/testing.md
diff options
context:
space:
mode:
authorJordan Liggitt <jliggitt@redhat.com>2016-06-14 23:41:47 -0400
committerJordan Liggitt <jliggitt@redhat.com>2016-07-08 16:24:41 -0400
commit93895639713595781c57ff682a4df2f34d48ae0a (patch)
treee44823a2bad3f06505bb3edf79529d27826a24b9 /testing.md
parent0bafb2a75bafe53632284c8b4ff62401a32a4822 (diff)
Allow specifying base location for test etcd data
Diffstat (limited to 'testing.md')
-rw-r--r--testing.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing.md b/testing.md
index 4ae98859..136d3f55 100644
--- a/testing.md
+++ b/testing.md
@@ -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.