jstests/replsets/libs/initial_sync_test.js
/**
     * Wait until the first synchronization fail point is hit to show that initial sync is paused
     * or until initial sync has completed.
     */
Wait until the first synchronization fail point is hit to show that initial sync is paused
or until initial sync has completed.
Wait until the first synchronization fail point is hit to show that initial sync is paused or until initial sync has completed .
function waitUntilInitialSyncPausedOrCompleted() {
        assert.soon(function() {
            if (checkLog.checkContainsOnce(
                    secondary, "initialSyncFuzzerSynchronizationPoint1 fail point enabled")) {
                return true;
            }
            return hasCompletedInitialSync();
        }, "initial sync did not pause or complete");
    }
function waitUntilInitialSyncPausedOrCompleted ( ) { assert . soon ( function ( ) { if ( checkLog . checkContainsOnce ( secondary , "initialSyncFuzzerSynchronizationPoint1 fail point enabled" ) ) { return true ; } return hasCompletedInitialSync ( ) ; } , "initial sync did not pause or complete" ) ; }
Wait until the first synchronization fail point is hit to show that initial sync is paused
 or until initial sync has completed.
Wait until the first synchronization fail point is hit to show that initial sync is paused or until initial sync has completed .