Skip to content

[Test/Integration/Tracking] implement generic test framework for integration test #2647

@ZhiHanZ

Description

@ZhiHanZ

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions