Skip to content
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 sds.c unit tests to new test framework. #478

Merged
merged 2 commits into from May 9, 2024

Conversation

lipzhu
Copy link
Contributor

@lipzhu lipzhu commented May 9, 2024

This patch migrates all tests in sds.c into new test framework as part of the parent issue #428.

@lipzhu
Copy link
Contributor Author

lipzhu commented May 9, 2024

Didn't bring in the assertion change in sds.c of #476 here.

Copy link

codecov bot commented May 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.81%. Comparing base (6cff0d6) to head (cb1fcb6).
Report is 4 commits behind head on unstable.

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable     #478      +/-   ##
============================================
+ Coverage     68.91%   69.81%   +0.90%     
============================================
  Files           109      109              
  Lines         61792    61791       -1     
============================================
+ Hits          42581    43142     +561     
+ Misses        19211    18649     -562     
Files Coverage Δ
src/sds.c 86.91% <ø> (ø)
src/sds.h 74.73% <ø> (ø)
src/server.c 88.60% <ø> (ø)

... and 23 files with indirect coverage changes

Copy link
Contributor

@karthyuom karthyuom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

src/unit/test_sds.c Outdated Show resolved Hide resolved
Signed-off-by: Madelyn Olson <[email protected]>
@madolson madolson merged commit 0342a81 into valkey-io:unstable May 9, 2024
17 checks passed
@madolson madolson mentioned this pull request May 9, 2024
12 tasks
@lipzhu lipzhu deleted the sdstest branch May 10, 2024 01:07
karthyuom pushed a commit to karthyuom/valkey that referenced this pull request May 13, 2024
This patch migrates all tests in sds.c into new test framework as part
of the parent issue valkey-io#428.

---------

Signed-off-by: Lipeng Zhu <[email protected]>
Signed-off-by: Madelyn Olson <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]>

Signed-off-by: Karthick Ariyaratnam <[email protected]>
srgsanky pushed a commit to srgsanky/valkey that referenced this pull request May 19, 2024
This patch migrates all tests in sds.c into new test framework as part
of the parent issue valkey-io#428.

---------

Signed-off-by: Lipeng Zhu <[email protected]>
Signed-off-by: Madelyn Olson <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants