Skip to content

Commit 84f3976

Browse files
committed
add comment explaining why we do not check for non-zero cursor id
1 parent 2175761 commit 84f3976

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
@@ -436,6 +436,8 @@ describe('CSOT spec prose tests', function () {
436436
* 1. Verify that an `aggregate` command and two `getMore` commands were executed against the `db.coll` collection during the test.
437437
*/
438438
it('sends correct number of aggregate and getMores', metadata, async function () {
439+
// NOTE: we don't check for a non-zero ID since we lazily send the initial aggregate to the
440+
// server. See ChangeStreamCursor._initialize
439441
const changeStream = client
440442
.db('db')
441443
.collection('coll')

0 commit comments

Comments
 (0)