blob: 30e18601ea5834d7225789257312245866605468 (
plain)
1
2
3
4
5
6
7
8
9
|
// This test expects to be run against a non-shardsvr.
// @tags: [
// requires_non_retryable_commands,
// directly_against_shardsvrs_incompatible,
// ]
// Test that cleanupOrphaned cannot be run on stand alone mongod.
var res = db.adminCommand({cleanupOrphaned: 'unsharded.coll'});
assert(!res.ok, tojson(res));
|