-
Notifications
You must be signed in to change notification settings - Fork 947
Updated modules examples and tests to use valkey vs redis #349
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
Conversation
Signed-off-by: Dmitry Polyakovsky <[email protected]>
Signed-off-by: Dmitry Polyakovsky <[email protected]>
Signed-off-by: Dmitry Polyakovsky <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## unstable #349 +/- ##
============================================
- Coverage 68.37% 68.34% -0.04%
============================================
Files 108 108
Lines 61555 61555
============================================
- Hits 42091 42071 -20
- Misses 19464 19484 +20 |
Signed-off-by: Dmitry Polyakovsky <[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.
Great.
The exact replacements, is it just
REDISMODULE -> VALKEYMODULE
RedisModule -> ValkeyModule
redismodule -> valkeymodule
Nothing else manually edited?
Regarding running module tests, it's done with make test-modules or ./runtest-moduleapi.
|
I see that the CI test run the module API tests, so I think it's safe to merge. Thanks! |
|
@zuiderkwast - correct, lots of search/replace/test carefully. |
|
Just want to post that we no longer have a test validating that the old (RedisModule_*) modules can still be loaded. We should probably add one. @dmitrypol Do you think you can help with that? |
|
@madolson - I saw this in logs when I loaded Rust module. I presume this is related? We want to support RedisModules for a while in the sprit of continuity.
|
|
Yes, that is related. That is the specific log line that get's printed when a legacy Redis module is loaded. |
) Scope of the changes: - updated example modules to reference Valkey vs Redis in variable names - updated tests to use valkeymodule.h - updated vars in tests/modules to use valkey vs redis in variable names Summary of the testing: - ran make for all modules, loaded them into valkey-server and tested commands - ran make for test/modules - ran make test for the entire codebase --------- Signed-off-by: Dmitry Polyakovsky <[email protected]> Co-authored-by: Dmitry Polyakovsky <[email protected]>
|
Can we have a test case that does |
Scope of the changes:
Summary of the testing: