From de0525841903db9d135137d5b4b6f3a2675a52ca Mon Sep 17 00:00:00 2001 From: Alexander Lakhin Date: Fri, 7 Feb 2025 10:56:39 +0200 Subject: [PATCH] Adjust diesel schema check for build with sanitizers (#10711) We need to disable the detection of memory leaks when running ``neon_local init` for build with sanitizers to avoid an error thrown by AddressSanitizer. --- .github/workflows/_build-and-test-locally.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/_build-and-test-locally.yml b/.github/workflows/_build-and-test-locally.yml index 3a6fbf4234..a963452523 100644 --- a/.github/workflows/_build-and-test-locally.yml +++ b/.github/workflows/_build-and-test-locally.yml @@ -287,6 +287,7 @@ jobs: DATABASE_URL: postgresql://localhost:1235/storage_controller POSTGRES_DISTRIB_DIR: /tmp/neon/pg_install run: | + export ASAN_OPTIONS=detect_leaks=0 /tmp/neon/bin/neon_local init /tmp/neon/bin/neon_local storage_controller start