-
Notifications
You must be signed in to change notification settings - Fork 639
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
Migrate util.c unit tests to new test framework #448
Conversation
Signed-off-by: Karthick Ariyaratnam <karthyuom@gmail.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## unstable #448 +/- ##
============================================
- Coverage 68.43% 68.41% -0.03%
============================================
Files 109 109
Lines 61681 61681
============================================
- Hits 42214 42201 -13
- Misses 19467 19480 +13
|
Signed-off-by: Karthick Ariyaratnam <karthyuom@gmail.com>
return flag&1; | ||
} | ||
|
||
int test_reclaimFilePageCache(int argc, char **argv, int flags) { |
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 we need to move this declaration outside of the ifdef, since we won't be able to build the tests on non-linux machines since it will complain it's not defined.
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.
Okay, I will take a look.
This PR migrates all tests related to util into new test framework as part of the parent issue valkey-io#428. --------- Signed-off-by: Karthick Ariyaratnam <karthyuom@gmail.com> Signed-off-by: Karthick Ariyaratnam <karthyuom@gmail.com>
This PR migrates all tests related to util into new test framework as part of the parent issue #428.