mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-27 10:20:38 +00:00
* move to expr_factory Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * move configs into service_config Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * move GrpcQueryHandler into distributed.rs Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * fix compile and test in catalog sub-crate Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * clean up Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * fix table-procedure compile and test Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * fix query compile and tests Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * fix datanode compile and tests Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * fix catalog/query/script/servers compile Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * fix frontend compile Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * fix nextest except information_schema Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * support information_schema Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * fix sqlness test Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * fix merge errors Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * remove other structs Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * clean up Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * fix format Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * change deregister_table's return type to empty tuple Signed-off-by: Ruihang Xia <waynestxia@gmail.com> --------- Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
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