-
Notifications
You must be signed in to change notification settings - Fork 1.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
#1022 Command Migration: ('HEXISTS', 'HKEYS', 'HVALS') #1087
#1022 Command Migration: ('HEXISTS', 'HKEYS', 'HVALS') #1087
Conversation
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.
HI @tarungka thanks for the PR. please check the review comments and consider adding RESP integration tests as well.
@tarungka lets ensure that the corresponding integration tests are migrated as well. cc @AshwinKul28 We need to add the tests for the migrated commands under integration_tests/commands/resp I have added a new item to checklist in the PR description. Please tick the same once the integration tests are added. |
@AshwinKul28 I have updated the eval functions, will add the test cases shortly. @soumya-codes I think you might have missed adding the item to the checklist, I'll check it off once added. Thanks. |
@AshwinKul28 I've added the integration test please review the PR, I will fix the conflicts if the changes look good. |
HI @tarungka I see that most of the integration tests are still under the async directory, please take an effort to move them under the resp directory. Thanks |
@tarungka please let us know if you have any concerns or facing any issues. |
Hi @apoorvyadav1111, i have fixed almost all the test cases. There is some new code recently merged, causing tests that return empty array responses to fail. I will look into that shortly. |
Hi @tarungka, Sure, thanks. Please run unit, integration tests and linter after rebase with latest in local. If those pass, tag me and I will review and run workflow here. Edit: you can also request review from all the reviewers |
Hi, I have left some comments, in addition to them, please use the "github.com/stretchr/testify/assert" in all test files related to the commands under the scope of this PR. Also all the tests need a final cleanup. Currently, we delete keys before test, therefore the last testcase have keys remaining which might affect the further tests. |
@AshwinKul28 @apoorvyadav1111 @lucifercr07 I have made the necessary changes, please review. |
Hello @tarungka , hope you are doing well. All the codebase looks fantastic. I see there's still no documentation available for these commands. I know it's little back and forth but we want to close it once-for-all. Can you please consider this template and try adding documentation pages for each of these three commands? Again, thanks a lot for the commendable efforts. |
Hi @AshwinKul28 sure, I will add these command docs. Do I create a markdown file for each of the three commands under docs/? |
Yes, please. thanks @tarungka |
@AshwinKul28 @apoorvyadav1111 added the docs, please review. |
Amazing work! Thanks for finishing this up, will merge once the checks are successful. |
Migrates the eval functions for HEXISTS, HKEYS, HVALS to the new eval function type independent of protocol.
Closes #1022
Here is my check list: