Conversation
|
👋 kalverra, thanks for creating this pull request! To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team. Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks! |
📊 API Diff Results
|
There was a problem hiding this comment.
Pull request overview
This PR updates the Postgres test DB lifecycle utilities to more reliably drop databases that still have open connections, preventing tests from hanging.
Changes:
- Use quoted identifiers for database/template names when issuing
DROP DATABASE/CREATE DATABASE. - Switch database dropping to
DROP DATABASE ... WITH (FORCE)to terminate remaining backends. - Increase cleanup retry sleep interval during best-effort drop on test cleanup.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Prevent tests from locking up on old connections.
In conjunction with smartcontractkit/chainlink#21947