Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] More Functional Test Scenarios #2653

Open
7 tasks
shirleyStorage opened this issue Aug 31, 2024 · 2 comments
Open
7 tasks

[Feature] More Functional Test Scenarios #2653

shirleyStorage opened this issue Aug 31, 2024 · 2 comments
Labels
feature New feature tests Add or improve test cases

Comments

@shirleyStorage
Copy link
Contributor

shirleyStorage commented Aug 31, 2024

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:

  1. There is no service that is irrecoverable
  2. Data consistency
  3. Data accuracy
  4. Whether the result of each operation meets expectations
@shirleyStorage shirleyStorage added the feature New feature label Aug 31, 2024
@dosubot dosubot bot added the tests Add or improve test cases label Aug 31, 2024
@VGalaxies
Copy link
Contributor

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.

@shirleyStorage
Copy link
Contributor Author

shirleyStorage commented Sep 1, 2024

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 #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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature tests Add or improve test cases
Projects
None yet
Development

No branches or pull requests

2 participants