Disconnect from Pool - #502
Conversation
SummaryThe following content is AI-generated and provides a summary of the pull request: Add
|
There was a problem hiding this comment.
The PR adds afterAll(async () => { await cds.db?.disconnect() }) to three of the five integration test files to prevent Postgres connection pools from keeping the process alive. The fix is missing from attachments-non-draft.test.js and attachments-rename.test.js, which have the same setup and the same hanging problem — please apply the disconnect hook there as well to fully resolve the issue.
PR Bot Information
Version: 1.29.2
- Correlation ID:
13616830-8a7a-11f1-8fd3-9411f1c9c1d7 - File Content Strategy: Full file content
- Event Trigger:
pull_request.opened - Experiment Variant:
control - LLM:
anthropic--claude-4.6-sonnet
Prevents Postgres tests from never ending via an interrupt.