neverchanje / chgcap-rs

A CDC library in Rust.
Apache License 2.0
16 stars 1 forks source link

tracking: testing plan for mysql cdc #13

Open neverchanje opened 9 months ago

neverchanje commented 9 months ago
  1. Integration testing:

    • [ ] Generate multiple records in all different types and consume via chgcap, verifying if the data is correct.
    • [x] Generate inserts, updates and deletes.
    • [ ] Consume multiple tables within a database simultaneously.
    • [ ] Consume multiple tables from different databases.
    • [ ] Consume multiple transactions, and verify if the data is correct.
    • [ ] Prepare a database that contains more than one binlog files. (To test the behavior of binlog rotation)
    • [ ] Apply the consumed changes into another MySQL table and verify if two tables are identical.

    We can load the consumed table into another table, and compare the data for verification.