Skip to content

Commit cea28f9

Browse files
committed
Fix hanging multihost test
1 parent a9fff10 commit cea28f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,7 @@ t('Catches query format errors', async() => [
12321232
t('Multiple hosts', {
12331233
timeout: 10000
12341234
}, async() => {
1235-
const sql = postgres('postgres://localhost:5432,localhost:5433')
1235+
const sql = postgres('postgres://localhost:5432,localhost:5433', { idle_timeout: options.idle_timeout })
12361236
, result = []
12371237

12381238
const a = (await sql`show data_directory`)[0].data_directory

0 commit comments

Comments
 (0)