Repository navigation
chore(e2e): Use DeferCleanup for namespace cleanup in parallel tests 1-019 to 1-039 - #1531
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @Gabrielandre02. Thanks for your PR. I'm waiting for a redhat-developer member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
…1-019 to 1-039 Refs redhat-developer#1464 Replace defer cleanupFunc() inside It blocks, and the AfterEach in 1-023, with Ginkgo's DeferCleanup so setup and cleanup are collocated and no cleanup func has to be kept in a spec variable. Signed-off-by: gabriel.carmo <admin@gabrielandre.com.br>
966ff2a to
1ad36c6
Compare
|
/ok-to-test |
|
/retest-required |
|
/retest |
Refs #1464
Replaces
defer cleanupFunc()with Ginkgo'sDeferCleanupin 8 parallel specs (1-019, 1-023, 1-032 inclusions, 1-033, 1-034, 1-037, 1-038, 1-039). Setup and cleanup are collocated, and 1-023'sAfterEachno longer needs a spec variable for the cleanup func.First of several small PRs; no new helpers, so it is independent of #1504.
Testing
go vet ./test/openshift/e2e/ginkgo/parallel/is clean. E2E specs not run locally (no cluster).