-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
fix: use require.NoError instead of t.Fatal(err) in tests package (part 1) #18753
fix: use require.NoError instead of t.Fatal(err) in tests package (part 1) #18753
Conversation
Hi @mmorel-35. Thanks for your PR. I'm waiting for a etcd-io 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-sigs/prow repository. |
9e48967
to
1f1a46e
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted filessee 20 files with indirect coverage changes @@ Coverage Diff @@
## main #18753 +/- ##
==========================================
+ Coverage 68.73% 68.77% +0.03%
==========================================
Files 420 420
Lines 35510 35511 +1
==========================================
+ Hits 24409 24421 +12
+ Misses 9674 9664 -10
+ Partials 1427 1426 -1 Continue to review full report in Codecov by Sentry.
|
@mmorel-35 Thanks for you constant effort, but please try to make each each such PR as small as possible, i.e < 100 lines of code change, so that each one can be approved & merged soon. |
Good point ! I'll narrow the next PR to 100 lines of modifications |
/assign @serathius |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mmorel-35, serathius 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 |
Read through it, still +1 to what @ahrtr said. Don't optimize for number of lines changed, optimize for time it takes to review. That will help you land your work faster. |
/retest |
@mmorel-35: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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-sigs/prow repository. I understand the commands that are listed here. |
Please fix
|
…rt 1) Signed-off-by: Matthieu MOREL <[email protected]>
1f1a46e
to
4da20aa
Compare
Alright @serathius, I fixed the issue |
There is no linter for this.
This uses testify instead of testing for
With
instead of