-
Notifications
You must be signed in to change notification settings - Fork 703
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
update server.call in the place of redis.call in test directory. #444
base: unstable
Are you sure you want to change the base?
update server.call in the place of redis.call in test directory. #444
Conversation
foreach script_compatibility_api {server redis} { | ||
foreach script_compatibility_api {server valkey} { |
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.
If we want to remove all the references of redis in this file. We can update the compatibility code below to do a find replace of server -> redis, and then update all the code in this file to also use server.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## unstable #444 +/- ##
============================================
- Coverage 70.54% 70.12% -0.42%
============================================
Files 114 114
Lines 61644 61644
============================================
- Hits 43488 43230 -258
- Misses 18156 18414 +258 |
@Shivshankar-Reddy Are you going to update this |
Hi @madolson yes, I will update soon.. |
892bbab
to
ab8da42
Compare
Signed-off-by: Shivshankar-Reddy <[email protected]>
Signed-off-by: Shivshankar-Reddy <[email protected]>
ab8da42
to
b39730d
Compare
@@ -361,7 +361,7 @@ start_server {overrides {save ""}} { | |||
|
|||
exec cp -f tests/assets/scriptbackup.rdb $server_path | |||
start_server [list overrides [list "dir" $server_path "dbfilename" "scriptbackup.rdb" "appendonly" "no"]] { | |||
# the script is: "return redis.call('set', 'foo', 'bar')"" | |||
# the script is: "return server.call('set', 'foo', 'bar')"" | |||
# its sha1 is: a0c38691e9fffe4563723c32ba77a34398e090e6 |
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 also update the sha?
Updated all the files apart from scripting.tcl as it has both server and redis. Will update the file later.