jstests/noPassthrough/out_max_time_ms.js
/**
 * Helper for populating the collection.
 */
Helper for populating the collection.
Helper for populating the collection .
function insertDocs(coll) {
    for (let i = 0; i < nDocs; i++) {
        assert.commandWorked(coll.insert({_id: i}, {writeConcern: {w: "majority"}}));
    }
}
function insertDocs ( coll ) { for ( let i = 0 ; i < nDocs ; i ++ ) { assert . commandWorked ( coll . insert ( { _id : i } , { writeConcern : { w : "majority" } } ) ) ; } }
Helper for populating the collection.
Helper for populating the collection .