Skip to content

Commit

Permalink
fix: flaky abort test (nodejs#1863)
Browse files Browse the repository at this point in the history
  • Loading branch information
KhafraDev authored and anonrig committed Apr 4, 2023
1 parent be28c7c commit a2cd669
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/fetch/abort.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,7 @@ test('Allow the usage of custom implementation of AbortController', async (t) =>
})

test('allows aborting with custom errors', { skip: process.version.startsWith('v16.') }, async (t) => {
const server = createServer((req, res) => {
setTimeout(() => res.end(), 5000)
}).listen(0)
const server = createServer().listen(0)

t.teardown(server.close.bind(server))
await once(server, 'listening')
Expand Down

0 comments on commit a2cd669

Please sign in to comment.