-
Notifications
You must be signed in to change notification settings - Fork 472
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
Implement the command hello
#881
Conversation
@git-hulk mind take a look? I need some help here |
Hi, @mapleFU, many thanks for your contribution.
Yes, but there's a bit different in Kvrocks since it has NOT username, so we can always ignore the username. For the auth logic can see redis_cmd.cc#L78.
Can ignore those sentinel fields since we are never running in sentinel mode. |
@git-hulk Now I extract the setting logic from But I wonder how can I testing |
…of `Array` internal
Do you mean where to add the test case? if yes, can do it in gocase/unit/auth
I didn't get this point. For SetName will only add an alias name for connection without other side effects. And no need to update any token/password here. |
hello
hello
Hi, I'm trying to adding unit tests for
After adding the
Even leaving an empty implements in |
It will be no problem when i change |
Oh, finally I find out the reason. |
09a0fdc
to
cfd338f
Compare
cfd338f
to
daf4821
Compare
maybe I should rerun the test? |
Yes, this failure isn't caused by the current PR, let's rerun. |
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.
LGTM. Thanks for your contribution.
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.
LGTM
Thanks all, will merge this PR after the CI becomes green. |
@git-hulk it's able to be merged now (*^3^) |
Thanks @mapleFU again |
This patch tries to fix this issue: #753
It's a WIP because:
Also, I update some implementions in
Redis::Array
, it will suffer from lots of unnecessary memory allocations