-
Notifications
You must be signed in to change notification settings - Fork 747
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
[Test/Integration/Tracking] implement generic test framework for integration test #2647
Comments
├── integration
│ ├── Cargo.toml
| ├── sql # If it is large, we can keep only a subset
│ └── src
│ ├── framework
│ │ └── local
│ └── lib.rs |
/assignme |
Come on, Let's rock! I expect that we can remove all python scripts after this issue implemented. |
I'm not interested in this issue any more. Feel free to take it 🚀 |
/assignme |
Is it possible to support error check in this framework? The current integration tests relies on hint to specify the error code, which is not a good method. |
PTAL at the new framework, #5048 |
Now we have a new sql logic test framework |
Summary
Similar to integration test in kubernetes and kubebuilder https://book.kubebuilder.io/cronjob-tutorial/writing-tests.html
For local test:
1, we use cargobin to ensure binaries on desired local and bootstrap cluster through code similar to bendctl basic test.
2. For stateless and stateful test we could choose desired number of query instance to run and deploy test them uniformly on test_env.
The test framwork would be
├── integration │ ├── Cargo.toml │ └── src │ ├── framework │ │ └── local │ ├── lib.rs │ └── sql
For cluster test:
we need to ensure some third party kubernetes dependencies and do the same thing
The text was updated successfully, but these errors were encountered: