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 crysmags committed Feb 27, 2024
1 parent 64f86fa commit 2cea947
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 2cea947

Please sign in to comment.