mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-08 14:02:55 +00:00
## Problem We want to be able to test how our infrastructure reacts on segfaults in Postgres (for example, we collect cores, and get some required logs/metrics, etc) ## Summary of changes - Add `trigger_segfauls` function to `neon_test_utils` to trigger a segfault in Postgres - Add `trigger_panic` function to `neon_test_utils` to trigger SIGABRT (by using `elog(PANIC, ...)) - Fix cleanup logic in regression tests in endpoint crashed
7 lines
181 B
Plaintext
7 lines
181 B
Plaintext
# neon_test_utils extension
|
|
comment = 'helpers for neon testing and debugging'
|
|
default_version = '1.3'
|
|
module_pathname = '$libdir/neon_test_utils'
|
|
relocatable = true
|
|
trusted = true
|