Skip to content

Commit 41eb46a

Browse files
committed
chore(NODE-6848): reduce flakiness of Client Bulk Write CSOT enabled acknowledged writes when the timeout is reached while iterating the result cursor the bulk write operation times out
1 parent d9c7afc commit 41eb46a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/crud/client_bulk_write.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ describe('Client Bulk Write', function () {
304304
// DRIVERS-3005 - killCursors causes cursor cleanup to extend past timeoutMS.
305305
// The amount of time killCursors takes is wildly variable and can take up to almost
306306
// 600-700ms sometimes.
307-
expect(end - start).to.be.within(1500, 1500 + 800);
307+
expect(end - start).to.be.within(1498, 1500 + 800);
308308
expect(commands.map(({ commandName }) => commandName)).to.have.lengthOf(2);
309309
}
310310
);

0 commit comments

Comments
 (0)