diff options
Diffstat (limited to 'jstests/noPassthroughWithMongod/fsync2.js')
-rw-r--r-- | jstests/noPassthroughWithMongod/fsync2.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jstests/noPassthroughWithMongod/fsync2.js b/jstests/noPassthroughWithMongod/fsync2.js index 7080837a99b..bdf956f30f2 100644 --- a/jstests/noPassthroughWithMongod/fsync2.js +++ b/jstests/noPassthroughWithMongod/fsync2.js @@ -41,7 +41,9 @@ function doTest() { //assert.eq(1, m.getDB(db.getName()).fsync2.count()); assert( m.getDB("admin").$cmd.sys.unlock.findOne().ok ); - + + db.getLastError(); + assert.eq( 2, db.fsync2.count() ); } |