Skip to content

Conversation

@ARR4N
Copy link
Contributor

@ARR4N ARR4N commented Nov 14, 2025

Closes #1457


// TestCloseWithShortTimeout verifies that Database.Close returns
// ErrActiveKeepAliveHandles when the context times out before handles are dropped.
func TestCloseWithShortTimeout(t *testing.T) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test no longer means anything, since we only rely on a timeout supplied by the user

@alarso16 alarso16 marked this pull request as ready for review November 14, 2025 20:21
@ARR4N
Copy link
Contributor Author

ARR4N commented Nov 17, 2025

Thanks for picking this up @alarso16. Feel free to merge when you're ready, or DM me if I need to do it since I opened the PR.

@demosdemon demosdemon enabled auto-merge (squash) November 17, 2025 16:29
@demosdemon demosdemon merged commit 2f71077 into main Nov 17, 2025
46 checks passed
@demosdemon demosdemon deleted the arr4n/db-close/context branch November 17, 2025 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat!(ffi): database close should take a ctx with a timeout

5 participants