kubernetes/hack/make-rules
k8s-merge-robot fe3dda1aeb Merge pull request #29092 from Random-Liu/make-node-e2e-parallel
Automatic merge from submit-queue

Node E2E: Make node e2e parallel

For https://github.com/kubernetes/kubernetes/issues/29081.
Fix https://github.com/kubernetes/kubernetes/issues/26215.
Based on https://github.com/kubernetes/kubernetes/pull/28807, https://github.com/kubernetes/kubernetes/pull/29020, will rebase after they are merged.

**Only the last commit is new.**

We are going to move more tests into the node e2e test. However, currently node e2e test only run sequentially, the test duration will increase quickly when we add more test.

This PR makes the node e2e test run in parallel so as to shorten test duration, so that we can add more test to improve the test coverage.

* If you run the test locally with `make test-e2e-node`, it will use `-p` ginkgo flag, which uses `(cores-1)` parallel test nodes by default.
* If you run the test remotely or in the Jenkin, the parallelism will be controlled by the environment variable `PARALLELISM`. The default value is `8`, which is reasonable for our test node (n1-standard-1).

Before this PR, it took  **833.592s** to run all test on my desktop.
With this PR, it only takes **234.058s** to run.

The pull request node e2e run with this PR takes **232.327s**.
The pull request node e2e run for other PRs takes **673.810s**.

/cc @kubernetes/sig-node
2016-07-29 18:38:29 -07:00
..
helpers Make builds faster by caching ALL_GO_DIRS 2016-07-21 09:31:38 -07:00
build.sh Use make as the main build tool 2016-07-12 21:52:00 -07:00
cross.sh Make releases work 2016-07-12 21:52:54 -07:00
test-cmd.sh API Changes for StorageClass 2016-07-28 19:01:01 -04:00
test-e2e-node.sh Merge pull request #29092 from Random-Liu/make-node-e2e-parallel 2016-07-29 18:38:29 -07:00
test-integration.sh Makefile should use paste ... - for posix semantics 2016-07-18 15:56:59 -04:00
test.sh Use make as the main build tool 2016-07-12 21:52:00 -07:00
verify.sh Use make as the main build tool 2016-07-12 21:52:00 -07:00
vet.sh Overhaul deps on generator tools 2016-07-12 21:52:54 -07:00