Skip to content

Commit aed4450

Browse files
committed
chore: compile
1 parent 9c0c5d6 commit aed4450

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/client-side-encryption/client_encryption.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ export class ClientEncryption {
313313
.collection<DataKey>(collectionName)
314314
.bulkWrite(replacements, {
315315
writeConcern: { w: 'majority' },
316-
timeoutMS: timeoutContext?.remainingTimeMS
316+
timeoutMS: timeoutContext.csotEnabled() ? timeoutContext?.remainingTimeMS : undefined
317317
});
318318

319319
return { bulkWriteResult: result };

test/integration/client-side-encryption/driver.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ describe('Client Side Encryption Functional', function () {
541541

542542
// TOOD, does not make rewriteManyDataKey fail
543543
describe.skip('when the find and bulk operation takes too long', function () {
544-
// together they add up to 600, exceeding the timeout of 500
544+
// together they add up to 800, exceeding the timeout of 500
545545
makeBlockingFailFor('update', 400);
546546
makeBlockingFailFor('listCollections', 400);
547547

0 commit comments

Comments
 (0)