From db1a597abc1a1da7a9053da32a55e68fdebab9a3 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 20 Oct 2025 12:26:31 +0100 Subject: [PATCH] [Test] Set ASAN_OPTIONS explicitly for proxy test Ensure ASAN_OPTIONS=detect_leaks=0 is set when running rspamc in proxy test to avoid false positive leak detection, similar to the fix in commit 8737a72. --- test/integration/scripts/integration-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/scripts/integration-test.sh b/test/integration/scripts/integration-test.sh index c02cb98a3c..9fd90687f6 100755 --- a/test/integration/scripts/integration-test.sh +++ b/test/integration/scripts/integration-test.sh @@ -244,7 +244,7 @@ if [ "$TEST_PROXY" = "true" ]; then echo "Testing via proxy worker ($PROXY_PORT)..." # Use corpus directory for proxy test too - rspamc -h "$RSPAMD_HOST:$PROXY_PORT" -n "$PARALLEL" -j \ + ASAN_OPTIONS=detect_leaks=0 rspamc -h "$RSPAMD_HOST:$PROXY_PORT" -n "$PARALLEL" -j \ "$CORPUS_DIR" > "$DATA_DIR/proxy_results.json" 2>&1 echo "✓ Proxy test complete" echo "Results saved to $DATA_DIR/proxy_results.json" -- 2.47.3