jstests/core/timeseries/libs/timeseries.js
/**
     * Runs the provided test with both ordered and unordered inserts.
     */
Runs the provided test with both ordered and unordered inserts.
Runs the provided test with both ordered and unordered inserts .
static run(testFn, theDb) {
        const insert = function(ordered) {
            jsTestLog('Running test with {ordered: ' + ordered + '} inserts');
            return function(coll, docs, options) {
                return coll.insert(docs, Object.extend({ordered: ordered}, options));
            };
        };
        testFn(insert(true));
        testFn(insert(false));
    }
static run ( testFn , theDb ) { const insert = function ( ordered ) { jsTestLog ( 'Running test with {ordered: ' + ordered + '} inserts' ) ; return function ( coll , docs , options ) { return coll . insert ( docs , Object . extend ( { ordered : ordered } , options ) ) ; } ; } ; testFn ( insert ( true ) ) ; testFn ( insert ( false ) ) ; }
Runs the provided test with both ordered and unordered inserts.
Runs the provided test with both ordered and unordered inserts .