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.
This commit is contained in:
Alexander Lakhin
2025-02-07 10:56:39 +02:00
committed by GitHub
parent e73d681a0e
commit de05258419

View File

@@ -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