jstests/noPassthrough/commit_quorum_does_not_hang_with_initial_sync.js
// Cannot use IndexBuildTest helper functions on the secondary during initial sync.
Cannot use IndexBuildTest helper functions on the secondary during initial sync.
Cannot use IndexBuildTest helper functions on the secondary during initial sync .
function checkForIndexes(indexes) {
    for (let i = 0; i < indexes.length; i++) {
        checkLog.containsJson(secondary, 20384, {
            "properties": function(obj) {
                return obj.name === indexes[i];
            }
        });
    }
}
function checkForIndexes ( indexes ) { for ( let i = 0 ; i < indexes . length ; i ++ ) { checkLog . containsJson ( secondary , 20384 , { "properties" : function ( obj ) { return obj . name === indexes [ i ] ; } } ) ; } }
Cannot use IndexBuildTest helper functions on the secondary during initial sync.
Cannot use IndexBuildTest helper functions on the secondary during initial sync .