summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2013-02-21 15:09:06 -0500
committerEric Milkie <milkie@10gen.com>2013-02-21 15:09:06 -0500
commit3aba6f8dc555eafeb9abfdb9fecf2067469fbf1c (patch)
tree7950d1f4114a715852062a9f8f563de88558b82e /jstests
parenta65d725b90f7a10e18420f4e25ecd6359d0c4e95 (diff)
downloadmongo-3aba6f8dc555eafeb9abfdb9fecf2067469fbf1c.tar.gz
SERVER-8650 comment out further parts of test
Diffstat (limited to 'jstests')
-rw-r--r--jstests/covered_index_negative_1.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/jstests/covered_index_negative_1.js b/jstests/covered_index_negative_1.js
index 0b2f0adae83..fdd920dbffe 100644
--- a/jstests/covered_index_negative_1.js
+++ b/jstests/covered_index_negative_1.js
@@ -34,18 +34,18 @@ 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")
-// Commenting out negative.1.5 pending fix in SERVER-8650
+// Commenting out negative.1.5 and 1.6 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()
-//indexOnly should be false but is not due to bug https://jira.mongodb.org/browse/SERVER-8562
-assert.eq(true, plan.indexOnly, "negative.1.6 - indexOnly should be false on a non covered query")
-assert.neq(0, plan.nscannedObjects, "negative.1.6 - 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()
+// //indexOnly should be false but is not due to bug https://jira.mongodb.org/browse/SERVER-8562
+// assert.eq(true, plan.indexOnly, "negative.1.6 - indexOnly should be false on a non covered query")
+// assert.neq(0, plan.nscannedObjects, "negative.1.6 - nscannedObjects should not be 0 for a non covered query")
// Test query on non-indexed field
var plan = coll.find({d:{$lt:1000}},{a:1, b:1, c:1, _id:0}).hint({a:1, b:-1, c:1}).explain()