Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion test/integration/node-specific/abort_signal.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,8 @@ describe('AbortSignal support', () => {
const start = performance.now();
const result = await collection.findOne({}, { signal }).catch(error => error);
const end = performance.now();
expect(end - start).to.be.lessThan(10); // shouldn't wait for the blocked connection
// TODO(NODE-6833): This duration was bumped from 10 to 40 to reduce flakiness, if this fails again investigate it.
expect(end - start).to.be.lessThan(40); // shouldn't wait for the blocked connection

expect(result).to.be.instanceOf(DOMException);
});
Expand Down