SERVER-22099 remove an unreliable check in cleanupOrphaned test
(cherry picked from commit 6b95d2ee13)
This commit is contained in:
parent
5678318b99
commit
3a1518befd
@ -52,13 +52,6 @@ var shardAdmin = st.shard0.getDB('admin');
|
||||
var badNS = ' \\/."*<>:|?';
|
||||
assert.commandFailed(shardAdmin.runCommand({cleanupOrphaned: badNS}));
|
||||
|
||||
/*****************************************************************************
|
||||
* Unsharded namespaces.
|
||||
****************************************************************************/
|
||||
|
||||
// cleanupOrphaned fails on unsharded database.
|
||||
assert.commandFailed(shardAdmin.runCommand({cleanupOrphaned: ns}));
|
||||
|
||||
// cleanupOrphaned works on sharded collection.
|
||||
assert.commandWorked(mongosAdmin.runCommand({
|
||||
enableSharding: coll.getDB().getName()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user