You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: handle postgres query cancellation in TestAcquireJobWithCancel_Cancel
The test was failing because it was checking for context.Canceled using
xerrors.Is, but postgres returns a different error ("pq: canceling
statement due to user request") when a query is cancelled. This change
uses database.IsQueryCanceledError which properly handles both
context.Canceled and postgres-specific cancellation errors.
0 commit comments