jstests/change_streams/apply_ops.js
// expected set of events are observed, but we relax the ordering requirements.
expected set of events are observed, but we relax the ordering requirements.
expected set of events are observed but we relax the ordering requirements .
function assertNextChangesEqual({cursor, expectedChanges, expectInvalidate}) {
    const assertEqualFunc = FixtureHelpers.isMongos(db) ? cst.assertNextChangesEqualUnordered
                                                        : cst.assertNextChangesEqual;
    return assertEqualFunc(
        {cursor: cursor, expectedChanges: expectedChanges, expectInvalidate: expectInvalidate});
}
function assertNextChangesEqual ( { cursor , expectedChanges , expectInvalidate } ) { const assertEqualFunc = FixtureHelpers . isMongos ( db ) ? cst . assertNextChangesEqualUnordered : cst . assertNextChangesEqual ; return assertEqualFunc ( { cursor : cursor , expectedChanges : expectedChanges , expectInvalidate : expectInvalidate } ) ; }
expected set of events are observed, but we relax the ordering requirements.
expected set of events are observed but we relax the ordering requirements .