Skip to content

Conversation

@williamjallen
Copy link
Collaborator

It's currently very annoying to run the tests while simultaneously poking around in the database because Postgres doesn't allow databases with other active connections to be dropped. In my case, I almost always forget to terminate my connection prior to running the tests and have to re-run the test suite as a result multiple times per day. By adding the FORCE option, the test suite can proceed while other connections are active. Those connections will be terminated and can be restarted once developers want to go back to exploring the database manually.

@williamjallen williamjallen added this pull request to the merge queue Aug 19, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 19, 2025
@williamjallen williamjallen added this pull request to the merge queue Aug 19, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 19, 2025
@williamjallen williamjallen added this pull request to the merge queue Aug 19, 2025
github-merge-queue bot pushed a commit that referenced this pull request Aug 19, 2025
It's currently very annoying to run the tests while simultaneously
poking around in the database because Postgres doesn't allow databases
with other active connections to be dropped. In my case, I almost always
forget to terminate my connection prior to running the tests and have to
re-run the test suite as a result multiple times per day. By adding the
`FORCE` option, the test suite can proceed while other connections are
active. Those connections will be terminated and can be restarted once
developers want to go back to exploring the database manually.
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 19, 2025
@williamjallen williamjallen added this pull request to the merge queue Aug 19, 2025
Merged via the queue into Kitware:master with commit d6219d5 Aug 19, 2025
7 checks passed
@williamjallen williamjallen deleted the drop-database-force branch August 19, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants