diff --git a/.github/actions/build-linux-artifacts/action.yml b/.github/actions/build-linux-artifacts/action.yml index c5212c28998..26028485061 100644 --- a/.github/actions/build-linux-artifacts/action.yml +++ b/.github/actions/build-linux-artifacts/action.yml @@ -57,6 +57,7 @@ runs: # Without GT_S3_*, every remote object-store case is skipped and the # release only ever exercises the local file backend. env: + RUST_MIN_STACK: 8388608 # 8 MiB, aligned with Rust CI tests. GT_S3_BUCKET: ${{ inputs.aws-ci-test-bucket }} GT_S3_REGION: ${{ inputs.aws-region }} GT_S3_ACCESS_KEY_ID: ${{ inputs.aws-access-key-id }} diff --git a/.github/actions/build-windows-artifacts/action.yml b/.github/actions/build-windows-artifacts/action.yml index 8fe077996d2..d25dd27e117 100644 --- a/.github/actions/build-windows-artifacts/action.yml +++ b/.github/actions/build-windows-artifacts/action.yml @@ -50,6 +50,7 @@ runs: run: make test sqlness-test env: RUST_BACKTRACE: 1 + RUST_MIN_STACK: 8388608 # 8 MiB, aligned with Rust CI tests. SQLNESS_OPTS: "--preserve-state" - name: Upload sqlness logs diff --git a/Makefile b/Makefile index 7f92098262f..21c87cc3707 100644 --- a/Makefile +++ b/Makefile @@ -262,6 +262,7 @@ run-it-in-container: start-etcd ## Run integration tests in dev-builder. docker run --network=host \ -v ${PWD}:/greptimedb -v ${CARGO_REGISTRY_CACHE}:/root/.cargo/registry -v ${CARGO_GIT_CACHE}:/root/.cargo/git -v /tmp:/tmp \ -e GT_S3_BUCKET -e GT_S3_ACCESS_KEY_ID -e GT_S3_ACCESS_KEY -e GT_S3_REGION \ + -e RUST_MIN_STACK \ -w /greptimedb ${IMAGE_REGISTRY}/${IMAGE_NAMESPACE}/dev-builder-${BASE_IMAGE}:${DEV_BUILDER_IMAGE_TAG} \ make test sqlness-test BUILD_JOBS=${BUILD_JOBS}