dragonfly
dragonfly copied to clipboard
add a pytest test that checks redis/df replication
it should:
- Start a redis server
- Start a DF server
- Populate Redis with data, and DF with data. Continue with adding data to redis.
- set DF as a secondary replica of Redis server.
- Validate that DF is synchronized with Redis. DF should disappear, Redis data should by synced.
- use "DEBUG REPLICATE PAUSE" to pause replication negotiation in case of disconnect
- kill DF replication connection on redis server using
client kill type replica
. - continue adding data to redis for a few seconds.
- Resume replication on DF and validate that it's been synced with Redis.
Hi if this is not urgent could I be assigned to this?
You need knowledge of pytest framework in order to do this. Specifically how to work with fixtures. Current pytest code is located here under "tests/dragonfly". I would start with a single task and then continue with others.