kvrocks-controller icon indicating copy to clipboard operation
kvrocks-controller copied to clipboard

Add concurrent test cases

Open PragmaTwice opened this issue 1 year ago • 2 comments

We need to add more cases about concurrency access from users, e.g. users can emit multiple migration tasks simultaneously from client.

PragmaTwice avatar Nov 12 '24 05:11 PragmaTwice

I'm thinking of adding a SlotOnly: false test - in addition to the concurrency.

For the *redis.Client connection in Node ClusterNode, would you prefer it connect to a real kvrocks, or is using a redis-mock ok?

redis mock from here: https://github.com/go-redis/redismock

bseto avatar Mar 23 '25 09:03 bseto

For the *redis.Client connection in Node ClusterNode, would you prefer it connect to a real kvrocks, or is using a redis-mock ok?

@bseto Yes, it would be nice to use Kvrocks, because some behaviors of Kvrocks is a bit different with Redis.

git-hulk avatar Mar 23 '25 11:03 git-hulk