diff options
Diffstat (limited to 'jstests/core/find_and_modify_server6865.js')
-rw-r--r-- | jstests/core/find_and_modify_server6865.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/jstests/core/find_and_modify_server6865.js b/jstests/core/find_and_modify_server6865.js index 3583da42412..98e5b28ee47 100644 --- a/jstests/core/find_and_modify_server6865.js +++ b/jstests/core/find_and_modify_server6865.js @@ -1,3 +1,8 @@ +// Cannot implicitly shard accessed collections because of following errmsg: A single +// update/delete on a sharded collection must contain an exact match on _id or contain the shard +// key. +// @tags: [assumes_unsharded_collection] + /** * Test that projection with a positional operator works with findAndModify * when remove=true or new=false, but not when new=true. |