diff options
author | Ian Whalen <ian.whalen@gmail.com> | 2013-02-21 12:40:21 -0500 |
---|---|---|
committer | Ian Whalen <ian.whalen@gmail.com> | 2013-02-21 13:31:49 -0500 |
commit | a65d725b90f7a10e18420f4e25ecd6359d0c4e95 (patch) | |
tree | 758866dc2d571d4020a243bba719921712502f4f | |
parent | a8b4d76306f231df8a1c85625a8d9ee20ae1d2cf (diff) | |
download | mongo-a65d725b90f7a10e18420f4e25ecd6359d0c4e95.tar.gz |
SERVER-8650 Comment out new test pending fix
-rw-r--r-- | jstests/covered_index_negative_1.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/jstests/covered_index_negative_1.js b/jstests/covered_index_negative_1.js index 47748384565..0b2f0adae83 100644 --- a/jstests/covered_index_negative_1.js +++ b/jstests/covered_index_negative_1.js @@ -34,11 +34,12 @@ var plan = coll.find({e:99},{e:1, _id:0}).hint({e:1}).explain() assert.eq(false, plan.indexOnly, "negative.1.4 - indexOnly should be false on a non covered query") assert.neq(0, plan.nscannedObjects, "negative.1.4 - nscannedObjects should not be 0 for a non covered query") -// Test projection and $natural sort -var plan = coll.find({a:{$gt:70}},{a:1, b:1, c:1, _id:0}).sort({$natural:1}).hint({a:1, b:-1, c:1}).explain() -// indexOnly should be false but is not due to bug https://jira.mongodb.org/browse/SERVER-8561 -assert.eq(true, plan.indexOnly, "negative.1.5 - indexOnly should be false on a non covered query") -assert.neq(0, plan.nscannedObjects, "negative.1.5 - nscannedObjects should not be 0 for a non covered query") +// Commenting out negative.1.5 pending fix in SERVER-8650 +// // Test projection and $natural sort +// var plan = coll.find({a:{$gt:70}},{a:1, b:1, c:1, _id:0}).sort({$natural:1}).hint({a:1, b:-1, c:1}).explain() +// // indexOnly should be false but is not due to bug https://jira.mongodb.org/browse/SERVER-8561 +// assert.eq(true, plan.indexOnly, "negative.1.5 - indexOnly should be false on a non covered query") +// assert.neq(0, plan.nscannedObjects, "negative.1.5 - nscannedObjects should not be 0 for a non covered query") // Test sort on non-indexed field var plan = coll.find({d:{$lt:1000}},{d:1, _id:0}).sort({c:1}).hint({d:1}).explain() |