• Kubernetes Submit Queue's avatar
    Merge pull request #41581 from marun/cleanup-test-integration · 4aa91685
    Kubernetes Submit Queue authored
    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
    4aa91685
Name
Last commit
Last update
..
helpers Loading commit data...
build.sh Loading commit data...
cross.sh Loading commit data...
make-help.sh Loading commit data...
test-cmd-util.sh Loading commit data...
test-cmd.sh Loading commit data...
test-e2e-node.sh Loading commit data...
test-federation-cmd.sh Loading commit data...
test-integration.sh Loading commit data...
test-kubeadm-cmd.sh Loading commit data...
test.sh Loading commit data...
verify.sh Loading commit data...
vet.sh Loading commit data...