[Feature] More Functional Test Scenarios
Feature Description (功能描述)
Do we have specific plans for various functional tests?
I think here are several scenarios in which we can add test cases for hstore:
- [ ] 1. Transfer leader
- [ ] 2. Split, merge region
- [ ] 3. Read, write, delete data
- [ ] 4. Backup, restore
- [ ] 5. Stop all nodes and restart all nodes
- [ ] 6. Restart all or part of the components repeatedly
- [ ] 7. Constantly scaling up and down the number of nodes.
For these scenarios, we need to check the following items:
- There is no service that is irrecoverable
- Data consistency
- Data accuracy
- Whether the result of each operation meets expectations
Good suggestion, recently we are trying to introduce the MiniCluster module in hugegraph (could refer to #2615). This module is used to simulate a multi-node pd, store, server environment for some integration testing, such as the stop and restart node mentioned here.
After the integration testing framework is built, it becomes more convenient to add the above test scenarios.
Good suggestion, recently we are trying to introduce the MiniCluster module in hugegraph (could refer to #2615). This module is used to simulate a multi-node pd, store, server environment for some integration testing, such as the stop and restart node mentioned here.
After the integration testing framework is built, it becomes more convenient to add the above test scenarios.
I saw the issue https://github.com/apache/incubator-hugegraph/pull/2615 . It's a very good foundation implementation! We can build more test cases based on this MiniCluster, and it's perfect for new contributor to gain a deeper understanding of hstore.