MCPcopy
hub / github.com/CodebuffAI/codebuff / advisory-lock.integration.test.ts

File advisory-lock.integration.test.ts

packages/internal/src/db/__tests__/advisory-lock.integration.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Integration tests for advisory lock serialization of concurrent credit operations.
3 *
4 * These tests run against a real PostgreSQL database to verify that:

Callers

nothing calls this directly

Calls 12

afterEachFunction · 0.85
createTestLoggerFunction · 0.85
simulateGrantWithDelayFunction · 0.85
setTimeoutFunction · 0.85
insertMethod · 0.80
deleteMethod · 0.80
fromMethod · 0.80
setMethod · 0.80
getTestDbFunction · 0.70
createGrantDataFunction · 0.70

Tested by

no test coverage detected