-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Remove e2e boilerplate #3322
Remove e2e boilerplate #3322
Conversation
4509340
to
646cee7
Compare
/lgtm muuch better! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aledbf, ElvinEfendi 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 |
@aledbf could you please explain what makes the error assertions unnecessary? |
Is not about the assertion itself but the lack of context using just Also, please check kubernetes/kubernetes#34059 (comment) |
What this PR does / why we need it:
This PR starts the process to remove
Expect(err).ToNot(HaveOccurred())
from the test and also avoid using methods from the framework package that return an error requiring an assert after the invocation.