Skip to content

Commit c6cd688

Browse files
committed
Increase timeout for parallel scram-sha-256 test to avoid timeout error
1 parent 7d33cc2 commit c6cd688

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,9 @@ t('Login using scram-sha-256', async() => {
317317
return [true, (await postgres({ ...options, ...login_scram })`select true as x`)[0].x]
318318
})
319319

320-
t('Parallel connections using scram-sha-256', async() => {
320+
t('Parallel connections using scram-sha-256', {
321+
timeout: 2000
322+
}, async() => {
321323
const sql = postgres({ ...options, ...login_scram })
322324
return [true, (await Promise.all([
323325
sql`select true as x, pg_sleep(0.2)`,

0 commit comments

Comments
 (0)