Add test for dead-end backends
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Add test for dead-end backends The code path for launching a dead-end backend because we're out of slots was not covered by any tests, so add one. (Some tests did hit the case of launching a dead-end backend because the server is still starting up, though, so the gap in our test coverage wasn't as big as it sounds.) Reviewed-by: Andres Freund <andres@anarazel.de> Discussion: https://www.postgresql.org/message-id/a102f15f-eac4-4ff2-af02-f9ff209ec66f@iki.fi
Files
| Path | Change | +/− |
|---|---|---|
| src/test/perl/PostgreSQL/Test/Cluster.pm | modified | +78 −0 |
| src/test/postmaster/t/001_connection_limits.pl | modified | +41 −1 |
Discussion
- Refactoring postmaster's code to cleanup after child exit 47 messages · 2024-07-06 → 2026-07-07