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
ISPN-14880 RESP DBSIZE #10956
ISPN-14880 RESP DBSIZE #10956
Conversation
*/ | ||
public class DBSIZE extends RespCommand implements Resp3Command { | ||
public DBSIZE() { | ||
super(0, 0, 0, 0); |
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.
arity is 1
@Test | ||
public void testDbSize() { | ||
RedisCommands<String, String> redis = redisConnection.sync(); | ||
assertThat(redis.dbsize()).isEqualTo(cache.size()); |
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.
we should test a value set and comparing the size
d02fb04
to
51a8e47
Compare
Fixed the issues |
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, but needs a rebase.
51a8e47
to
e18dbcc
Compare
Rebased |
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
https://issues.redhat.com/browse/ISPN-14880