jstests/sharding/sharding_task_executor_pool_matching_policy.js
// command run against the node and the expected policy.
command run against the node and the expected policy.
command run against the node and the expected policy .
function checkSTEPReplicaSetMatchingPolicy(connPoolStats, expectedPolicy) {
    assert("replicaSetMatchingStrategy" in connPoolStats);
    let nodePolicy = connPoolStats["replicaSetMatchingStrategy"];
    assert.eq(nodePolicy, expectedPolicy);
}
function checkSTEPReplicaSetMatchingPolicy ( connPoolStats , expectedPolicy ) { assert ( "replicaSetMatchingStrategy" in connPoolStats ) ; let nodePolicy = connPoolStats [ "replicaSetMatchingStrategy" ] ; assert . eq ( nodePolicy , expectedPolicy ) ; }
command run against the node and the expected policy.
command run against the node and the expected policy .