Files
mongo/jstests/core/pseudocommand_db.js
Kaloian Manassiev 1af99e4894 SERVER-25050 Cleanup Strategy and Shard class
No functional changes, just cleanup the Strategy class and rename
runBatchWriteCommand to runBatchWriteCommandOnConfig to better indicate
its intent.
2016-07-30 09:51:13 -04:00

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());
}
})();