Skip to content
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

Merged
merged 1 commit into from May 22, 2023
Merged

Conversation

tristantarrant
Copy link
Member

*/
public class DBSIZE extends RespCommand implements Resp3Command {
public DBSIZE() {
super(0, 0, 0, 0);
Copy link
Contributor

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());
Copy link
Contributor

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

@tristantarrant
Copy link
Member Author

Fixed the issues

Copy link
Member

@jabolina jabolina left a 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.

@tristantarrant
Copy link
Member Author

Rebased

Copy link
Member

@wburns wburns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@karesti karesti merged commit 19ff984 into infinispan:main May 22, 2023
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants