mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-07 13:52:59 +00:00
* chore: unify once_cell version * chore: update cargo lock * chore: add gen_trace_id * chore: add trace_id to query_ctx * chore: add debug log * Revert "chore: add debug log" This reverts commit f52ab3bb300f1d73117cd6ebbd8e0162829b1aba. * chore: add frontend node id option * chore: add query ctx to query engine ctx * chore: set trace_id to logical_plan api * chore: add trace_id in grpc entrance * chore: generate trace_id while creating query_ctx * chore: fix typo * chore: extract trace_id from grpc header * chore: extract trace_id from grpc header * chore: fix clippy * chore: add `QueryContextBuilder` * chore: change node_id in fe to string
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_REGION=S3 region
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
Test azblob storage:
cargo test azblob