Skip to content

Commit

Permalink
increase timeouts for test/issue-3346.js
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Collina <[email protected]>
  • Loading branch information
mcollina committed Dec 23, 2024
1 parent 84a9f85 commit 5241094
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/issue-3356.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ test('https://github.com/nodejs/undici/issues/3356', async (t) => {

res.flushHeaders()
res.write('h')
setTimeout(() => { res.end('ello world!') }, 100)
setTimeout(() => { res.end('ello world!') }, 1100)
} else {
res.end('hello world!')
}
Expand Down Expand Up @@ -54,7 +54,7 @@ test('https://github.com/nodejs/undici/issues/3356', async (t) => {
t.equal(err.name, 'TypeError')
t.equal(err.cause.code, 'UND_ERR_REQ_RETRY')
}
}, 200)
}, 2000)

await t.completed
})

0 comments on commit 5241094

Please sign in to comment.