-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
tests: add tests for go/vt/hook
#15015
Conversation
Signed-off-by: Manik Rana <[email protected]>
Signed-off-by: Manik Rana <[email protected]>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
Signed-off-by: Manik Rana <[email protected]>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #15015 +/- ##
==========================================
+ Coverage 47.29% 47.41% +0.11%
==========================================
Files 1139 1144 +5
Lines 238914 238995 +81
==========================================
+ Hits 113004 113326 +322
+ Misses 117315 117085 -230
+ Partials 8595 8584 -11 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Manik Rana <[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.
So far looks good to me besides the comments I left. I see coverage is up to almost 80%. More uncovered lines left are error cases, do you think you can go ahead and test those lines as well?
Co-authored-by: Florent Poinsard <[email protected]> Signed-off-by: Manik Rana <[email protected]>
Signed-off-by: Manik Rana <[email protected]>
@frouioui I'd rather tackle those in another PR as it's been slightly tricky trying to invoke stuff like Also one of the CI tests was failing. Think there was data race error for the |
Sounds good to me! |
It seems like edit: you should test the entire package with |
Signed-off-by: Manik Rana <[email protected]>
Signed-off-by: Manik Rana <[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.
LGTM
Description
Bump coverage from 37.7% to 78.3%
Related Issue(s)
#14931
Checklist
Deployment Notes