From d044345431a53d2237998d0d70bbc4ae5a209747 Mon Sep 17 00:00:00 2001 From: Random-Liu Date: Mon, 18 Jul 2016 00:52:39 -0700 Subject: Make the node e2e test run in parallel. --- e2e-node-tests.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'e2e-node-tests.md') 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 -- cgit v1.2.3