summaryrefslogtreecommitdiff
path: root/jstests/gle
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2014-03-12 11:50:31 -0400
committerRandolph Tan <randolph@10gen.com>2014-03-13 15:58:06 -0400
commita08c9f4ee6d5389b3a6a96f093d8a1fdecc9cb8d (patch)
treeddc6f6395a28f0ccdde6bd2bfff3b81171c6069f /jstests/gle
parentdc28d4a2d9336904ce302c9c3c8099cb27f402eb (diff)
downloadmongo-a08c9f4ee6d5389b3a6a96f093d8a1fdecc9cb8d.tar.gz
SERVER-13028 fix shell to use createIndex command for createIndex method
Diffstat (limited to 'jstests/gle')
-rw-r--r--jstests/gle/core/gle_example.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/jstests/gle/core/gle_example.js b/jstests/gle/core/gle_example.js
index b60b9e39ffe..8c6e481b5a7 100644
--- a/jstests/gle/core/gle_example.js
+++ b/jstests/gle/core/gle_example.js
@@ -27,8 +27,3 @@ coll.update({ y: 1 }, { _id: 1 }, true);
gle = db.getLastErrorObj();
assert.neq(null, gle.err);
-// Error on index creation.
-coll.ensureIndex({ x: 'invalid' });
-gle = db.getLastErrorObj();
-assert.neq(null, gle.err);
-