diff options
Diffstat (limited to 'jstests/core/find_and_modify_concurrent_update.js')
-rw-r--r-- | jstests/core/find_and_modify_concurrent_update.js | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/jstests/core/find_and_modify_concurrent_update.js b/jstests/core/find_and_modify_concurrent_update.js index ead81732ecc..52916f4c9b8 100644 --- a/jstests/core/find_and_modify_concurrent_update.js +++ b/jstests/core/find_and_modify_concurrent_update.js @@ -1,7 +1,12 @@ -// 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] +// @tags: [ +// # 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. +// assumes_unsharded_collection, +// +// # Uses $where operator +// requires_scripting, +// ] // Ensures that find and modify will not apply an update to a document which, due to a concurrent // modification, no longer matches the query predicate. |