jstests/sharding/query/lookup_unionWith_subpipeline_local_read.js
// Clear the logs on the primary nodes before starting a test to isolate relevant log lines.
Clear the logs on the primary nodes before starting a test to isolate relevant log lines.
Clear the logs on the primary nodes before starting a test to isolate relevant log lines .
function clearLogs() {
    for (let i = 0; i < replSets.length; i++) {
        for (let node of [replSets[i].getPrimary(), replSets[i].getSecondary()]) {
            assert.commandWorked(node.adminCommand({clearLog: "global"}));
        }
    }
}
function clearLogs ( ) { for ( let i = 0 ; i < replSets . length ; i ++ ) { for ( let node of [ replSets [ i ] . getPrimary ( ) , replSets [ i ] . getSecondary ( ) ] ) { assert . commandWorked ( node . adminCommand ( { clearLog : "global" } ) ) ; } } }
Clear the logs on the primary nodes before starting a test to isolate relevant log lines.
Clear the logs on the primary nodes before starting a test to isolate relevant log lines .