-
Notifications
You must be signed in to change notification settings - Fork 551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
e2e CSV test - use unique name resources for each test #2541
e2e CSV test - use unique name resources for each test #2541
Conversation
Hi @akihikokuroda. Thanks for your PR. I'm waiting for a operator-framework member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions 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/test-infra repository. |
}).Should(WithTransform(k8serrors.IsNotFound, BeTrue())) | ||
|
||
Eventually(func() error { | ||
return ctx.Ctx().Client().Delete(context.Background(), &ns) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this call is still prone to the previous behavior, but deleting the OG and CRD beforehand should smooth out the time that the namespace is hanging in the terminating status (on top of reducing the current flakiness of this test), and I don't have any better solutions poking around the code.
@akihikokuroda Can you also rebase when you get a chance? I saw the unit test failure, but we just merged those changes since this PR has been opened. |
/ok-to-test |
@akihikokuroda You may need to also rebase against master too. |
4ff1fe1
to
88cb720
Compare
/approve |
ad58d81
to
2600bc7
Compare
@akihikokuroda could you rebase this test as well? |
41a99cf
to
40ea2d4
Compare
@akihikokuroda Apologies - we just merged some e2e improvements that parallelize the e2e suite into their own jobs, so the overall e2e execution should drop from ~1h to ~20m. Can you rebase your PR once more, and I'll tag it once it passes the checks? |
Longer term, we need to solve the situation where branches constantly need to be rebased when changes land in the master branch as it's not the greatest UX for contributors. |
Signed-off-by: akihikokuroda <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: akihikokuroda, awgreene, timflannagan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: akihikokuroda [email protected]
The "ClusterServiceVersion when a CustomResourceDefinition was installed alongside a ClusterServiceVersion" tests uses the same namespace name for each test. It creates and remove the namespace every time. It doesn't delete the resources in the namespace before it delete the namespace. It may be causing the longer delete time of the namespace and the timeout of the test. The tests executed after the timeout fail because the uncleaned namespace and resources in it.
Description of the change:
Motivation for the change:
Closes #2540
Reviewer Checklist
/doc