Skip to content

test(node): Remove generic-pool fake unit test#21439

Merged
nicohrubec merged 1 commit into
developfrom
nh/generic-pool-remove-fake
Jun 10, 2026
Merged

test(node): Remove generic-pool fake unit test#21439
nicohrubec merged 1 commit into
developfrom
nh/generic-pool-remove-fake

Conversation

@nicohrubec

@nicohrubec nicohrubec commented Jun 10, 2026

Copy link
Copy Markdown
Member

These unit tests aren't needed: the acquire-span (parent attachment) case is already covered by the genericPool / genericPool-v2 integration tests, and the only other case is the trivial disable scenario.

The unit test stood up a fake `generic-pool` module to drive the
instrumentation. Its parent-attachment case is already covered by the
`genericPool` / `genericPool-v2` node-integration-tests (the acquire span is
asserted nested inside the transaction), so the fake is redundant. The
remaining "disabled" case only exercised generic OTel unpatch plumbing, not
Sentry-specific logic, so it is dropped rather than ported.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@nicohrubec nicohrubec marked this pull request as ready for review June 10, 2026 13:19
@nicohrubec nicohrubec requested a review from a team as a code owner June 10, 2026 13:19
@nicohrubec nicohrubec requested review from JPeer264, andreiborza and mydea and removed request for a team and mydea June 10, 2026 13:19
@nicohrubec nicohrubec merged commit 2c9809b into develop Jun 10, 2026
175 of 176 checks passed
@nicohrubec nicohrubec deleted the nh/generic-pool-remove-fake branch June 10, 2026 13:22
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.

2 participants