No functional changes, just cleanup the Strategy class and rename runBatchWriteCommand to runBatchWriteCommandOnConfig to better indicate its intent.
9 lines
274 B
JavaScript
9 lines
274 B
JavaScript
(function() {
|
|
"use strict";
|
|
if (!db.getMongo().useReadCommands()) {
|
|
var testDB = db.getSiblingDB("blah");
|
|
// test that we can run the 'inprog' pseudocommand on any database.
|
|
assert.commandWorked(testDB.$cmd.sys.inprog.findOne());
|
|
}
|
|
})();
|