Skip to content

Commit

Permalink
fix: flaky abort test (#1863)
Browse files Browse the repository at this point in the history
  • Loading branch information
KhafraDev committed Jan 18, 2023
1 parent 61246a5 commit 16c4128
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

1 comment on commit 16c4128

@ronag
Copy link
Member

@ronag ronag commented on 16c4128 Jan 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still doesn't pass locally for me... I'm disabling the test.

Please sign in to comment.