kubernetes/hack/make-rules
Kubernetes Submit Queue 4aa9168536 Merge pull request #41581 from marun/cleanup-test-integration
Automatic merge from submit-queue (batch tested with PRs 43642, 43170, 41813, 42170, 41581)

Cleanup make test-integration

``make test-integration`` was using the first positional arg passed to ``WHAT`` to filter the list of integration test packages.  This PR switches to passing ``WHAT`` verbatim to be consistent with how ``make test`` works.  That means the new way to scope execution to a single integration package will be:

```bash
make test-integration WHAT="./test/integration/auth" KUBE_TEST_ARGS="-run=^TestKindAuthorization$"
```

Instead of:

```bash
make test-integration WHAT="auth -test.run=^TestKindAuthorization$"
```

This PR also ensures that the script exits after running a single test case and that etcd cleanup is not done twice at the end of a successful test run.  Both were issues encountered while diagnosing the scoping issue.

cc: @thockin @deads2k @stevekuznetsov @ncdc @derekwaynecarr
2017-03-24 19:04:30 -07:00
..
helpers Generate for staging directories that are not client-go 2017-01-16 16:13:29 -05:00
build.sh Add a verbosity concept to kubernetes scripts 2016-08-04 22:01:22 -07:00
cross.sh Add a KUBERNETES_NODE_* section to build kubelet/kube-proxy for windows 2016-12-17 21:07:18 -08:00
make-help.sh remove hardcoded ansi to tput so that color coding works in multiple platforms including osx. 2017-02-10 10:25:43 -08:00
test-cmd-util.sh Preserve API group order in discovery, prefer extensions over apps 2017-03-23 11:10:53 -04:00
test-cmd.sh Do not run kubelet in test-cmd.sh 2017-02-21 14:53:44 -08:00
test-e2e-node.sh test/node_e2e: wire-in "container-runtime" for local tests 2017-02-01 20:34:51 +00:00
test-federation-cmd.sh Temporary disable federation kubectl tests for secrets to unblock merge queue 2017-01-26 15:43:56 -08:00
test-integration.sh test-federation.sh: Make use of WHAT consistent with make test 2017-02-16 10:53:58 -08:00
test-kubeadm-cmd.sh kubeadm: updated cmd tests as discussed in SIG 2017-02-07 12:47:07 -08:00
test.sh Ignore bazel-* directories when looking for tests to run 2017-02-17 14:03:56 -08:00
verify.sh client-go: enable smoke compile test for examples 2017-02-02 20:28:32 +01:00
vet.sh Disable verify-test-owners.sh and make go vet more obvious 2016-12-21 11:44:04 -08:00