jstests/concurrency/fsm_workloads/find_cmd_with_indexes_timeseries.js
/**
     * Checks that the createIndex cmd result either succeeded or failed in an acceptible manner.
     */
Checks that the createIndex cmd result either succeeded or failed in an acceptible manner.
Checks that the createIndex cmd result either succeeded or failed in an acceptible manner .
function processCreateIndex(createIndexRes, indexSpec) {
        assertAlways(createIndexRes.ok == 1 ||
                         createIndexRes.code == ErrorCodes.IndexAlreadyExists ||
                         createIndexRes.code == ErrorCodes.IndexBuildAborted ||
                         createIndexRes.code == ErrorCodes.NoMatchingDocument,
                     "Create index for spec '" + indexSpec + "'failed: " + tojson(createIndexRes));
    }
function processCreateIndex ( createIndexRes , indexSpec ) { assertAlways ( createIndexRes . ok == 1 || createIndexRes . code == ErrorCodes . IndexAlreadyExists || createIndexRes . code == ErrorCodes . IndexBuildAborted || createIndexRes . code == ErrorCodes . NoMatchingDocument , "Create index for spec '" + indexSpec + "'failed: " + tojson ( createIndexRes ) ) ; }
Checks that the createIndex cmd result either succeeded or failed in an acceptible manner.
Checks that the createIndex cmd result either succeeded or failed in an acceptible manner .