mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-07 13:52:59 +00:00
* chore: get header in grpc & temp save * chore: change authscheme to include data str * chore: add auth to grpc flight handler * chore: add unit test & hold for now since grpc api doesnt accept req input * chore: minor change * chore: minor change * chore: add flight context to database interface * chore: add test * chore: update proto version & fix cr issue * chore: add test * chore: minor update
Setup
To run the integration test, please copy .env.example to .env in the project root folder and change the values on need.
Take s3 for example. You need to set your S3 bucket, access key id and secret key:
# Settings for s3 test
GT_S3_BUCKET=S3 bucket
GT_S3_ACCESS_KEY_ID=S3 access key id
GT_S3_ACCESS_KEY=S3 secret access key
Run
Execute the following command in the project root folder:
cargo test integration
Test s3 storage:
cargo test s3
Test oss storage:
cargo test oss