mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
Add note about hanging queries in DittoPostgres test
This commit is contained in:
parent
0b72533b05
commit
9b422d8e31
1 changed files with 11 additions and 0 deletions
|
|
@ -9,3 +9,14 @@ Deno.test('DittoPostgres', { ignore: !isPostgres }, async () => {
|
|||
await using db = new DittoPostgres(conf.databaseUrl);
|
||||
await db.migrate();
|
||||
});
|
||||
|
||||
// FIXME: There is a problem with postgres-js where queries just hang after the database is closed.
|
||||
|
||||
// Deno.test('DittoPostgres query after closing', { ignore: !isPostgres }, async () => {
|
||||
// const db = new DittoPostgres(conf.databaseUrl);
|
||||
// await db[Symbol.asyncDispose]();
|
||||
//
|
||||
// await assertRejects(
|
||||
// () => db.kysely.selectFrom('nostr_events').selectAll().execute(),
|
||||
// );
|
||||
// });
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue