summaryrefslogtreecommitdiff
path: root/jstests/core/commands_namespace_parsing.js
diff options
context:
space:
mode:
authorEddie Louie <eddie.louie@mongodb.com>2017-03-23 14:07:50 -0400
committerEddie Louie <eddie.louie@mongodb.com>2017-03-23 14:07:50 -0400
commit9fc1ecd711851cccee04fe14caf88db0c6523090 (patch)
tree9fe1653635dd12da022fff31555ab237af1cc4e0 /jstests/core/commands_namespace_parsing.js
parentfb956b3b0a48c9b8376575c6adb971a4e0593292 (diff)
downloadmongo-9fc1ecd711851cccee04fe14caf88db0c6523090.tar.gz
SERVER-26315 Override DBCollection.prototype.drop to re-shard collections that are dropped
This reverts commit fb956b3b0a48c9b8376575c6adb971a4e0593292.
Diffstat (limited to 'jstests/core/commands_namespace_parsing.js')
-rw-r--r--jstests/core/commands_namespace_parsing.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/jstests/core/commands_namespace_parsing.js b/jstests/core/commands_namespace_parsing.js
index c5e6cd3a285..9f5fd2ffe26 100644
--- a/jstests/core/commands_namespace_parsing.js
+++ b/jstests/core/commands_namespace_parsing.js
@@ -1,3 +1,8 @@
+// Cannot implicitly shard accessed collections because the error response from the shard about
+// using the empty string as the out collection name is converted to an error and no longer retains
+// the "code" property.
+// @tags: [assumes_unsharded_collection]
+
// This file tests that commands namespace parsing rejects embedded null bytes.
// Note that for each command, a properly formatted command object must be passed to the helper
// function, regardless of the namespace used in the command object.