diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-04-28 15:39:52 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-04-28 15:39:52 -0400 |
commit | e0d8e8541d2870a2280c9513ac742b5b1864c766 (patch) | |
tree | ee2204f48205e45aac9e36689f003bba37f4138a /jstests/sharding/update1.js | |
parent | a634d541ade8c645bb55fbe3e22b81165c24f070 (diff) | |
download | mongo-e0d8e8541d2870a2280c9513ac742b5b1864c766.tar.gz |
really fix getLastError in mongos SERVER-1039
Diffstat (limited to 'jstests/sharding/update1.js')
-rw-r--r-- | jstests/sharding/update1.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/update1.js b/jstests/sharding/update1.js index 84d83c1fbe0..8a96f3c3b08 100644 --- a/jstests/sharding/update1.js +++ b/jstests/sharding/update1.js @@ -38,7 +38,7 @@ assert.eq(err.code, 13123, 'key error code 1'); assert.eq(err.code, 13123, 'key error code 2'); coll.update({_id:1, key:1}, {$set: {foo:2}}); -//assert.isnull(db.getLastError(), 'getLastError reset'); +assert.isnull(db.getLastError(), 'getLastError reset'); s.stop() |