jstests/noPassthrough/server_transaction_metrics_for_prepared_transactions.js
/**
 * Verifies that the given value of the server status response is incremented in the way
 * we expect.
 */
Verifies that the given value of the server status response is incremented in the way
we expect.
Verifies that the given value of the server status response is incremented in the way we expect .
function verifyServerStatusChange(initialStats, newStats, valueName, expectedIncrement) {
    assert.eq(initialStats[valueName] + expectedIncrement,
              newStats[valueName],
              "expected " + valueName + " to increase by " + expectedIncrement);
}
function verifyServerStatusChange ( initialStats , newStats , valueName , expectedIncrement ) { assert . eq ( initialStats [ valueName ] + expectedIncrement , newStats [ valueName ] , "expected " + valueName + " to increase by " + expectedIncrement ) ; }
Verifies that the given value of the server status response is incremented in the way
 we expect.
Verifies that the given value of the server status response is incremented in the way we expect .