Skip to content

Fix the macOS CI matrix and split unit tests from integration tests - #345

Open
fox0430 wants to merge 28 commits into
mainfrom
ci/enable-macos-test-matrix
Open

fox0430 wants to merge 28 commits into
mainfrom
ci/enable-macos-test-matrix

Conversation

@fox0430

@fox0430 fox0430 commented Jun 11, 2026

Copy link
Copy Markdown
Owner

No description provided.

@fox0430
fox0430 force-pushed the ci/enable-macos-test-matrix branch from 2940538 to 50ee588 Compare June 23, 2026 10:52
fox0430 added 27 commits June 23, 2026 19:59
# Conflicts:
#	tests/all_tests.nim
# Conflicts:
#	.github/workflows/test.yml
# Conflicts:
#	tests/all_tests.nim
Resolve conflicts in async_postgres.nimble and tests/all_tests.nim: keep the
unit/integration test split from this branch and take the apiSurface tasks
from main.

Also add test_aggregate, test_copy_race and test_tls_error_paths to
all_tests_unit.nim. The split was based on an older import list, so these
mock-server/compile-time tests ended up in neither aggregate file.
`wait()`'s default orphan hook clears a late failure on the inner future.
`drainAbandonedAcquire` awaits that same future, so once the error is gone
its `read()` returns a nil connection instead of raising, and the drain
dereferences nil in `releaseReclaimed`.

Pass a no-op orphan hook at both cluster `wait()` sites (the drain owns the
outcome) and guard the drain against a nil connection.
# Conflicts:
#	tests/all_tests.nim
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.

1 participant