fix(query): ensure that open connection are killed after timeout #1714
Annotations
2 errors
test/index.test.ts > test query timeout > query timeout after 3s and connection cleanup:
test/server/query-timeout.ts#L18
AssertionError: expected { …(10) } to match object { error: StringContaining{…} }
(9 matching properties omitted from actual)
- Expected
+ Received
{
- "error": StringContaining "Query read timeout",
+ "error": "ERROR: 57014: canceling statement due to statement timeout
+ ",
}
❯ test/server/query-timeout.ts:18:24
|
Test
Process completed with exit code 1.
|