Skip to content

Commit 3702a72

Browse files
committed
add comment explaining why we do not check for non-zero cursor id
1 parent 7fe11d6 commit 3702a72

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/integration/client-side-operations-timeout/client_side_operations_timeout.prose.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,8 @@ describe('CSOT spec prose tests', function () {
437437
* 1. Verify that an `aggregate` command and two `getMore` commands were executed against the `db.coll` collection during the test.
438438
*/
439439
it('sends correct number of aggregate and getMores', metadata, async function () {
440+
// NOTE: we don't check for a non-zero ID since we lazily send the initial aggregate to the
441+
// server. See ChangeStreamCursor._initialize
440442
const changeStream = client
441443
.db('db')
442444
.collection('coll')

0 commit comments

Comments
 (0)