diff options
Diffstat (limited to 'jstests/noPassthrough/lock_file.js')
-rw-r--r-- | jstests/noPassthrough/lock_file.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/jstests/noPassthrough/lock_file.js b/jstests/noPassthrough/lock_file.js index cb7e96c2563..152a9a35f32 100644 --- a/jstests/noPassthrough/lock_file.js +++ b/jstests/noPassthrough/lock_file.js @@ -19,12 +19,13 @@ // Test framework will append --storageEngine command line option if provided to smoke.py. var mongod = MongoRunner.runMongod({dbpath: dbpath, smallfiles: ""}); - assert.neq(0, getMongodLockFileSize(dbpath), + assert.neq(0, + getMongodLockFileSize(dbpath), 'mongod.lock should not be empty while server is running'); MongoRunner.stopMongod(mongod); // mongod.lock must be empty after shutting server down. - assert.eq(0, getMongodLockFileSize(dbpath), - 'mongod.lock not truncated after shutting server down'); + assert.eq( + 0, getMongodLockFileSize(dbpath), 'mongod.lock not truncated after shutting server down'); }()); |