]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Test] Set ASAN_OPTIONS explicitly for proxy test
authorVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 20 Oct 2025 11:26:31 +0000 (12:26 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 20 Oct 2025 11:27:06 +0000 (12:27 +0100)
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

index c02cb98a3c8e9ab4c0f25635d3f5d171e9bfff1b..9fd90687f63cb565d517bbfa8f1d6decfbdd359f 100755 (executable)
@@ -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"