From: Vsevolod Stakhov Date: Sat, 18 Oct 2025 08:03:46 +0000 (+0100) Subject: [Test] Disable leak detection for rspamadm and rspamc utilities X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6438b7e992aace97a814df8b15ca95f311ac0f74;p=thirdparty%2Frspamd.git [Test] Disable leak detection for rspamadm and rspamc utilities Set ASAN_OPTIONS=detect_leaks=0 for CLI tools to avoid false positives, while rspamd daemon still has leak detection enabled --- diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 3587105241..00b02ae6ec 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -84,6 +84,9 @@ jobs: # Use rspamadm from build export PATH="${GITHUB_WORKSPACE}/install/bin:$PATH" + # Disable leak detection for rspamadm utility + export ASAN_OPTIONS=detect_leaks=0 + # Generate keypair for fuzzy worker KEYPAIR=$(rspamadm keypair -u) FUZZY_PRIVKEY=$(echo "$KEYPAIR" | grep privkey | cut -d'"' -f2) diff --git a/test/integration/scripts/integration-test.sh b/test/integration/scripts/integration-test.sh index c9c01606c5..4cc80a34d6 100755 --- a/test/integration/scripts/integration-test.sh +++ b/test/integration/scripts/integration-test.sh @@ -4,6 +4,9 @@ set -e +# Disable leak detection for rspamc utility to avoid false positives +export ASAN_OPTIONS=detect_leaks=0 + # Configuration RSPAMD_HOST=${RSPAMD_HOST:-localhost} CONTROLLER_PORT=${CONTROLLER_PORT:-50002}