diff options
author | Eliot Horowitz <eliot@10gen.com> | 2011-03-02 10:58:12 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2011-03-02 10:59:04 -0500 |
commit | 081b046b720b5bd28d0598b077e9cd5bef5ad25b (patch) | |
tree | 78bd58a1fc10fb8a59d79f7ec7438117358b8392 /jstests | |
parent | 00bee150132340e5bf95e0f1d7d90a098fb256d7 (diff) | |
download | mongo-081b046b720b5bd28d0598b077e9cd5bef5ad25b.tar.gz |
update index test because of fix SERVER-1716
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/index11.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/jstests/index11.js b/jstests/index11.js index 9c4fd184489..2a552ddc2a6 100644 --- a/jstests/index11.js +++ b/jstests/index11.js @@ -5,12 +5,9 @@ coll.drop(); coll.ensureIndex({"k": 1, "v": 1}); coll.insert({k: "x", v: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}); -/* TODO inconsistent behavior w/ too large to index - this fails but the next assert works. - * SERVER-1716 - * assert.eq(1, coll.find({"k": "x"}).count()); - */ +assert.eq(0, coll.find({"k": "x"}).count()); // SERVER-1716 coll.dropIndexes(); coll.ensureIndex({"k": 1, "v": 1}); -assert.eq(1, coll.find({"k": "x"}).count()); +assert.eq(0, coll.find({"k": "x"}).count()); |