summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMisha Tyulenev <misha@mongodb.com>2016-01-07 15:15:14 -0500
committerMisha Tyulenev <misha@mongodb.com>2016-01-07 15:15:54 -0500
commit6b95d2ee131a2b8e40f69106ac3f46921269ab46 (patch)
treebbc787170bd033ad9abbb3f459150013f72a7cc7
parent43209263a40af233dd1fae25aa719c7b2b304480 (diff)
downloadmongo-6b95d2ee131a2b8e40f69106ac3f46921269ab46.tar.gz
SERVER-22099 remove an unreliable check in cleanupOrphaned test
-rw-r--r--jstests/sharding/cleanup_orphaned_basic.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/jstests/sharding/cleanup_orphaned_basic.js b/jstests/sharding/cleanup_orphaned_basic.js
index 5517376582d..d3943784b59 100644
--- a/jstests/sharding/cleanup_orphaned_basic.js
+++ b/jstests/sharding/cleanup_orphaned_basic.js
@@ -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()