Skip to content

Commit

Permalink
feat(NODE-6304): add CSOT support for non-tailable cursors (#4195)
Browse files Browse the repository at this point in the history
  • Loading branch information
W-A-James committed Oct 1, 2024
1 parent 065b214 commit 4180272
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cmap/wire_protocol/on_data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ export function onData(

const timeoutForSocketRead = timeoutContext?.timeoutForSocketRead;
timeoutForSocketRead?.throwIfExpired();
// eslint-disable-next-line github/no-then
timeoutForSocketRead?.then(undefined, errorHandler);

const timeoutForSocketRead = timeoutContext?.timeoutForSocketRead;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,11 @@ describe('CSOT driver tests', metadata, () => {
});
});

describe.skip('Tailable non-awaitData cursors').skipReason =
'TODO(NODE-6305): implement CSOT for Tailable cursors';
describe.skip('Tailable awaitData cursors').skipReason =
'TODO(NODE-6305): implement CSOT for Tailable cursors';

describe('when using an explicit session', () => {
const metadata: MongoDBMetadataUI = {
requires: { topology: ['replicaset'], mongodb: '>=4.4' }
Expand Down

0 comments on commit 4180272

Please sign in to comment.