diff options
author | Aaron <aaron@10gen.com> | 2010-06-08 11:50:45 -0700 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2010-06-08 11:50:45 -0700 |
commit | dc00413381cd8d6e3d586411aa757044f91edc6b (patch) | |
tree | 93ee1bc3d65e73a8d058f481351bd0c03e74b02b /jstests/repair.js | |
parent | 201d501e391d3096429c1f1ac53033e3562edbdc (diff) | |
download | mongo-dc00413381cd8d6e3d586411aa757044f91edc6b.tar.gz |
SERVER-1203 repair oplog properly
Diffstat (limited to 'jstests/repair.js')
-rw-r--r-- | jstests/repair.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/repair.js b/jstests/repair.js index 5548c2b7d45..338fe52b958 100644 --- a/jstests/repair.js +++ b/jstests/repair.js @@ -1,6 +1,6 @@ t = db.jstests_repair; t.drop(); t.save( { i:1 } ); -db.repairDatabase(); +assert.commandWorked( db.repairDatabase() ); v = t.validate(); assert( v.valid , "not valid! " + tojson( v ) ); |