Update integration tests for Z* commands
Recently, we pushed an interesting change in Z* commands. We do not fetch and serve ranks for all sorted set elements by default. The current set of integration tests does not test it, we need to update it. Also, the test for ZRANK will break as the result structure has been altered, so that test also needs to be updated.
Will pick up if no one is working on it .
@arpitbbhayani Can I pick this up?
Referring to https://github.com/DiceDB/dice/pull/1712 The main change is from the method ZRANGE, while others include functional changes in cmd/ files.
Grepping over the repo I find the following test files use ZRANGE
- eval_test.go
- zrange_test.go
- zset_test.go
And with respect to ZRANK mentioned in the issue description the file
- zrank_test.go
Are we in the right direction ? @arpitbbhayani Any pointers please.