jstests/noPassthrough/txn_override_causal_consistency.js
// Helper methods for testing specific commands.
Helper methods for testing specific commands.
Helper methods for testing specific commands .
function testInsert(conn, isCausal, expectRetry) {
    inspectFirstCommandForAfterClusterTime(conn, "insert", isCausal, expectRetry, (coll) => {
        assert.commandWorked(coll.insert({x: 1}));
    });
}
function testInsert ( conn , isCausal , expectRetry ) { inspectFirstCommandForAfterClusterTime ( conn , "insert" , isCausal , expectRetry , ( coll ) => { assert . commandWorked ( coll . insert ( { x : 1 } ) ) ; } ) ; }
Helper methods for testing specific commands.
Helper methods for testing specific commands .