jstests/noPassthrough/libs/index_build.js
/**
     * The same as createIndexesWithSideWrites() above, specialized for the case of a single index
     * to build.
     */
The same as createIndexesWithSideWrites() above, specialized for the case of a single index
to build.
The same as createIndexesWithSideWrites () above specialized for the case of a single index to build .
static createIndexWithSideWrites(test,
                                     createIndexesFn,
                                     coll,
                                     indexSpec,
                                     indexName,
                                     sideWrites,
                                     {hangBeforeBuildingIndex} = {hangBeforeBuildingIndex: false}) {
        return ResumableIndexBuildTest.createIndexesWithSideWrites(
            test, createIndexesFn, coll, [indexSpec], [indexName], sideWrites, {
                hangBeforeBuildingIndex: hangBeforeBuildingIndex
            })[0];
    }
static createIndexWithSideWrites ( test , createIndexesFn , coll , indexSpec , indexName , sideWrites , { hangBeforeBuildingIndex } = { hangBeforeBuildingIndex : false } ) { return ResumableIndexBuildTest . createIndexesWithSideWrites ( test , createIndexesFn , coll , [ indexSpec ] , [ indexName ] , sideWrites , { hangBeforeBuildingIndex : hangBeforeBuildingIndex } ) [ 0 ] ; }
The same as createIndexesWithSideWrites() above, specialized for the case of a single index
 to build.
The same as createIndexesWithSideWrites () above specialized for the case of a single index to build .