Skip to content

Commit 4435480

Browse files
committed
chore: bump duration
1 parent 6507053 commit 4435480

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/integration/node-specific/abort_signal.test.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ describe('AbortSignal support', () => {
932932
await clearFailPoint(this.configuration);
933933
});
934934

935-
it.skip(`rejects findOne`, async () => {
935+
it(`rejects findOne`, async () => {
936936
client.on(
937937
'commandStarted',
938938
// Abort a bit after find has started:
@@ -942,10 +942,11 @@ describe('AbortSignal support', () => {
942942
const start = performance.now();
943943
const result = await collection.findOne({}, { signal }).catch(error => error);
944944
const end = performance.now();
945-
expect(end - start).to.be.lessThan(10); // shouldn't wait for the blocked connection
945+
// TODO(NODE-6833): This duration was bumped from 10 to 40 to reduce flakiness, if this fails again investigate it.
946+
expect(end - start).to.be.lessThan(40); // shouldn't wait for the blocked connection
946947

947948
expect(result).to.be.instanceOf(DOMException);
948-
}).skipReason = 'TODO(NODE-6833): fix flaky test';
949+
});
949950
});
950951

951952
describe('when a signal passed to db.command() is aborted', failPointMetadata, () => {

0 commit comments

Comments
 (0)