weim0000 commented on code in PR #2937:
URL: https://github.com/apache/kvrocks/pull/2937#discussion_r2078786144
##########
tests/gocase/unit/type/zset/zset_test.go:
##########
@@ -1308,6 +1324,10 @@ func basicTests(t *testing.T, rdb *redis.Client, ctx
context.Context, enabledRES
}
createZset(rdb, ctx, "zset", z)
+ // ZRANDMEMBER zset
+ str := rdb.Do(ctx, "ZRANDMEMBER", "zset").Val()
Review Comment:
Sorry, it can't use rdb.ZRandMember, because this function have a `count`
param,
ZRandMember(ctx context.Context, key string, count int);
and this bug must not input `count` param;
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]