diff --git a/ci/dash/test_integrationtests.sh b/ci/dash/test_integrationtests.sh index d546931d7cae..4b114472693d 100755 --- a/ci/dash/test_integrationtests.sh +++ b/ci/dash/test_integrationtests.sh @@ -28,6 +28,11 @@ fi cd "build-ci/dashcore-$BUILD_TARGET" +if [ -n "${CI_LIMIT_STACK_SIZE}" ]; then + # Upstream uses 512, which segfaults dashd during test framework startup. + ulimit -s 1024 +fi + if [ "$SOCKETEVENTS" = "" ]; then # Let's switch socketevents mode to some random mode R=$((RANDOM%3)) diff --git a/ci/test/00_setup_env_native_asan.sh b/ci/test/00_setup_env_native_asan.sh index 909c42ece182..a92cbebf23cd 100755 --- a/ci/test/00_setup_env_native_asan.sh +++ b/ci/test/00_setup_env_native_asan.sh @@ -10,7 +10,8 @@ export CONTAINER_NAME=ci_native_asan export PACKAGES="clang-19 llvm-19 libclang-rt-19-dev python3-zmq qtbase5-dev qttools5-dev-tools libevent-dev bsdmainutils libboost-dev libminiupnpc-dev libzmq3-dev libqrencode-dev" # Reuses the depends built for the linux64 target, which uses the defaults. export DEP_OPTS="" -export TEST_RUNNER_EXTRA="--timeout-factor=4 -j2" # Increase timeout because sanitizers slow down +export TEST_RUNNER_EXTRA="--timeout-factor=4 -j4" # Increase timeout because sanitizers slow down +export CI_LIMIT_STACK_SIZE=1 export GOAL="install" export BITCOIN_CONFIG="--enable-zmq --enable-crash-hooks --with-gui=qt5 --without-bdb --with-sqlite \ --with-sanitizers=address,float-divide-by-zero,integer,undefined \