Skip to content

Commit 6895b25

Browse files
authored
chore(NODE-6859): sleep for longer to reduce flaky CSOT State machine #markCommand when csot is enabled and markCommand() takes longer than the remaining timeoutMS the command should fail due to a timeout error test (#4460)
1 parent 06e941a commit 6895b25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ describe('CSOT', function () {
827827
// @ts-expect-error accessing private method
828828
.stub(Connection.prototype, 'sendCommand')
829829
.callsFake(async function* (...args) {
830-
await sleep(1000);
830+
await sleep(1010);
831831
yield* stub.wrappedMethod.call(this, ...args);
832832
});
833833
});

0 commit comments

Comments
 (0)