jstests/noPassthrough/libs/index_build.js
/**
     * Asserts that the specified index builds completed successfully.
     */
Asserts that the specified index builds completed successfully.
Asserts that the specified index builds completed successfully .
static assertCompleted(conn, coll, buildUUIDs, indexNames) {
        for (const buildUUID of buildUUIDs) {
            checkLog.containsJson(conn, 20663, {
                buildUUID: function(uuid) {
                    return uuid["uuid"]["$uuid"] === buildUUID;
                },
                namespace: coll.getFullName()
            });
        }
        IndexBuildTest.assertIndexesIdHelper(coll, indexNames.length, indexNames);
    }
static assertCompleted ( conn , coll , buildUUIDs , indexNames ) { for ( const buildUUID of buildUUIDs ) { checkLog . containsJson ( conn , 20663 , { buildUUID : function ( uuid ) { return uuid [ "uuid" ] [ "$uuid" ] === buildUUID ; } , namespace : coll . getFullName ( ) } ) ; } IndexBuildTest . assertIndexesIdHelper ( coll , indexNames . length , indexNames ) ; }
Asserts that the specified index builds completed successfully.
Asserts that the specified index builds completed successfully .