Repository navigation
chore(e2e): Use DeferCleanup for namespace cleanup in parallel tests 1-042 to 1-058 - #1532
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 |
|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
|
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. |
…1-042 to 1-058 Refs redhat-developer#1464 Replace defer cleanupFunc() inside It blocks with Ginkgo's DeferCleanup. Specs already converted by redhat-developer#1504 (1-043 log level, 1-050) and the AfterEach-based specs (1-042 restricted PSS, and 1-046 since redhat-developer#1519) are left alone. Signed-off-by: gabriel.carmo <admin@gabrielandre.com.br>
baa3ae3 to
53cc35f
Compare
|
/ok-to-test |
|
/retest |
1 similar comment
|
/retest |
Refs #1464
Replaces
defer cleanupFunc()with Ginkgo'sDeferCleanupin 13 parallel specs (1-042 status host through 1-058 prometheus rule). Cleanups keep running in reverse registration order, so specs with several namespaces behave as before.Left alone: 1-043 log level and 1-050 SSO, which #1504 already changes, the
AfterEach-based 1-042 restricted PSS spec, and 1-046, whose cleanup moved toAfterEachin #1519.Second of several small PRs, independent of #1531 and #1504.
Testing
go vet ./test/openshift/e2e/ginkgo/parallel/is clean. E2E specs not run locally (no cluster).