From d81783187dbabbfe2de0d3e5dea60462074c8787 Mon Sep 17 00:00:00 2001 From: WenyXu Date: Thu, 6 Jun 2024 16:51:52 +0000 Subject: [PATCH] chore: run fuzz tests with disk cache --- .../with-minio-and-cache.yaml | 38 +++++++++++++++++++ .github/workflows/develop.yml | 4 ++ 2 files changed, 42 insertions(+) create mode 100644 .github/actions/setup-greptimedb-cluster/with-minio-and-cache.yaml diff --git a/.github/actions/setup-greptimedb-cluster/with-minio-and-cache.yaml b/.github/actions/setup-greptimedb-cluster/with-minio-and-cache.yaml new file mode 100644 index 0000000000..acf99adf26 --- /dev/null +++ b/.github/actions/setup-greptimedb-cluster/with-minio-and-cache.yaml @@ -0,0 +1,38 @@ +meta: + config: |- + [runtime] + read_rt_size = 8 + write_rt_size = 8 + bg_rt_size = 8 + + [datanode] + [datanode.client] + timeout = "60s" +datanode: + config: |- + [runtime] + read_rt_size = 8 + write_rt_size = 8 + bg_rt_size = 8 + + [storage] + cache_path = "/data/greptimedb/s3cache" + cache_capacity = "256MB" +frontend: + config: |- + [runtime] + read_rt_size = 8 + write_rt_size = 8 + bg_rt_size = 8 + + [meta_client] + ddl_timeout = "60s" +objectStorage: + s3: + bucket: default + region: us-west-2 + root: test-root + endpoint: http://minio.minio.svc.cluster.local + credentials: + accessKeyId: rootuser + secretAccessKey: rootpass123 diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 25f6657fce..eb1e4a3b00 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -292,6 +292,10 @@ jobs: minio: true kafka: false values: "with-minio.yaml" + - name: "Minio with Cache" + minio: true + kafka: false + values: "with-minio-and-cache.yaml" - name: "Remote WAL" minio: true kafka: true