summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandom-Liu <taotaotheripper@gmail.com>2016-07-18 00:52:39 -0700
committerRandom-Liu <taotaotheripper@gmail.com>2016-07-29 16:40:59 -0700
commitd044345431a53d2237998d0d70bbc4ae5a209747 (patch)
tree9816491a8cce956801603eaff745745663b9ea60
parentfaf0f87d8186292cd378a370674be6438e9be166 (diff)
Make the node e2e test run in parallel.
-rw-r--r--e2e-node-tests.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/e2e-node-tests.md b/e2e-node-tests.md
index 04b82799..54b0ac9e 100644
--- a/e2e-node-tests.md
+++ b/e2e-node-tests.md
@@ -205,6 +205,18 @@ less useful for catching flakes related creating the instance from an image.**
make test-e2e-node REMOTE=true RUN_UNTIL_FAILURE=true
```
+## Run tests in parallel
+
+Running test in parallel can usually shorten the test duration. By default node
+e2e test runs with`--nodes=8` (see ginkgo flag
+[--nodes](https://onsi.github.io/ginkgo/#parallel-specs)). You can use the
+`PARALLELISM` option to change the parallelism.
+
+```sh
+make test-e2e-node PARALLELISM=4 # run test with 4 parallel nodes
+make test-e2e-node PARALLELISM=1 # run test sequentially
+```
+
## Run tests with kubenet network plugin
[kubenet](http://kubernetes.io/docs/admin/network-plugins/#kubenet) is