From 5c1ef90cb0869638d87d3e0411ea7a1ff234a1af Mon Sep 17 00:00:00 2001 From: WenyXu Date: Fri, 20 Dec 2024 02:47:48 +0000 Subject: [PATCH] chore: adjust fuzz tests cfg --- .../setup-greptimedb-cluster/with-minio-and-cache.yaml | 4 ++-- .github/actions/setup-greptimedb-cluster/with-minio.yaml | 4 ++-- .../actions/setup-greptimedb-cluster/with-remote-wal.yaml | 4 ++-- tests-fuzz/src/utils.rs | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/actions/setup-greptimedb-cluster/with-minio-and-cache.yaml b/.github/actions/setup-greptimedb-cluster/with-minio-and-cache.yaml index 8f99c242f4bf..864e59c4bc7b 100644 --- a/.github/actions/setup-greptimedb-cluster/with-minio-and-cache.yaml +++ b/.github/actions/setup-greptimedb-cluster/with-minio-and-cache.yaml @@ -5,7 +5,7 @@ meta: [datanode] [datanode.client] - timeout = "60s" + timeout = "120s" datanode: configData: |- [runtime] @@ -21,7 +21,7 @@ frontend: global_rt_size = 4 [meta_client] - ddl_timeout = "60s" + ddl_timeout = "120s" objectStorage: s3: bucket: default diff --git a/.github/actions/setup-greptimedb-cluster/with-minio.yaml b/.github/actions/setup-greptimedb-cluster/with-minio.yaml index b8121374ce03..2e6a7b930eb1 100644 --- a/.github/actions/setup-greptimedb-cluster/with-minio.yaml +++ b/.github/actions/setup-greptimedb-cluster/with-minio.yaml @@ -5,7 +5,7 @@ meta: [datanode] [datanode.client] - timeout = "60s" + timeout = "120s" datanode: configData: |- [runtime] @@ -17,7 +17,7 @@ frontend: global_rt_size = 4 [meta_client] - ddl_timeout = "60s" + ddl_timeout = "120s" objectStorage: s3: bucket: default diff --git a/.github/actions/setup-greptimedb-cluster/with-remote-wal.yaml b/.github/actions/setup-greptimedb-cluster/with-remote-wal.yaml index 043b9fe43f85..a97f921f8c26 100644 --- a/.github/actions/setup-greptimedb-cluster/with-remote-wal.yaml +++ b/.github/actions/setup-greptimedb-cluster/with-remote-wal.yaml @@ -11,7 +11,7 @@ meta: [datanode] [datanode.client] - timeout = "60s" + timeout = "120s" datanode: configData: |- [runtime] @@ -28,7 +28,7 @@ frontend: global_rt_size = 4 [meta_client] - ddl_timeout = "60s" + ddl_timeout = "120s" objectStorage: s3: bucket: default diff --git a/tests-fuzz/src/utils.rs b/tests-fuzz/src/utils.rs index 84222f6d5a58..8e5daef4eb1d 100644 --- a/tests-fuzz/src/utils.rs +++ b/tests-fuzz/src/utils.rs @@ -141,10 +141,10 @@ macro_rules! make_get_from_env_helper { } make_get_from_env_helper!(GT_FUZZ_INPUT_MAX_ALTER_ACTIONS, 256); -make_get_from_env_helper!(GT_FUZZ_INPUT_MAX_INSERT_ACTIONS, 8); +make_get_from_env_helper!(GT_FUZZ_INPUT_MAX_INSERT_ACTIONS, 4); make_get_from_env_helper!(GT_FUZZ_INPUT_MAX_ROWS, 512); -make_get_from_env_helper!(GT_FUZZ_INPUT_MAX_TABLES, 64); -make_get_from_env_helper!(GT_FUZZ_INPUT_MAX_COLUMNS, 32); +make_get_from_env_helper!(GT_FUZZ_INPUT_MAX_TABLES, 32); +make_get_from_env_helper!(GT_FUZZ_INPUT_MAX_COLUMNS, 16); /// Retrieves a value from the environment variables /// or returns a default value if the environment variable is not set.