jstests/sharding/txn_commit_optimizations_for_read_only_shards.js
// logged at an earlier wall clock time.
logged at an earlier wall clock time.
logged at an earlier wall clock time .
function waitForLog(logLine, times) {
    assert.soon(function() {
        const matches = rawMongoProgramOutput().match(new RegExp(logLine, "g")) || [];
        return matches.length === times;
    }, 'Failed to find "' + logLine + '" logged ' + times + ' times');
}
function waitForLog ( logLine , times ) { assert . soon ( function ( ) { const matches = rawMongoProgramOutput ( ) . match ( new RegExp ( logLine , "g" ) ) || [ ] ; return matches . length === times ; } , 'Failed to find "' + logLine + '" logged ' + times + ' times' ) ; }
logged at an earlier wall clock time.
logged at an earlier wall clock time .