Skip to content

Commit

Permalink
chore: compile
Browse files Browse the repository at this point in the history
  • Loading branch information
nbbeeken committed Oct 21, 2024
1 parent af3ebce commit 1744150
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/client-side-encryption/client_encryption.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ export class ClientEncryption {
.collection<DataKey>(collectionName)
.bulkWrite(replacements, {
writeConcern: { w: 'majority' },
timeoutMS: timeoutContext?.remainingTimeMS
timeoutMS: timeoutContext.csotEnabled() ? timeoutContext?.remainingTimeMS : undefined
});

return { bulkWriteResult: result };
Expand Down
2 changes: 1 addition & 1 deletion test/integration/client-side-encryption/driver.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ describe('Client Side Encryption Functional', function () {

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

Expand Down

0 comments on commit 1744150

Please sign in to comment.