Skip to content

Commit 870e8d1

Browse files
committed
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
1 parent d9c7afc commit 870e8d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
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(1500);
831831
yield* stub.wrappedMethod.call(this, ...args);
832832
});
833833
});

0 commit comments

Comments
 (0)