diff options
author | Benety Goh <benety@mongodb.com> | 2014-10-16 10:09:49 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2014-10-16 10:14:43 -0400 |
commit | cacbfa2f82ee3ffe5513e727542d513d3f98ac1c (patch) | |
tree | bb981514368ebe6b3fba0527d67eeb44ade58240 /jstests/disk/repair2.js | |
parent | b6a2b0a9c98e29f77ce5cc314ed6906aec154885 (diff) | |
download | mongo-cacbfa2f82ee3ffe5513e727542d513d3f98ac1c.tar.gz |
SERVER-5520 do not check exit code when running mongod --repair in test
Diffstat (limited to 'jstests/disk/repair2.js')
-rw-r--r-- | jstests/disk/repair2.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/jstests/disk/repair2.js b/jstests/disk/repair2.js index 000434426dd..e4fefadf3d7 100644 --- a/jstests/disk/repair2.js +++ b/jstests/disk/repair2.js @@ -32,16 +32,14 @@ check(); stopMongod( port ); resetDbpath( repairpath ); -rc = runMongoProgram( "mongod", "--repair", "--directoryperdb", "--port", port, "--dbpath", dbpath, "--repairpath", repairpath, "--nohttpinterface", "--bind_ip", "127.0.0.1" ); -assert.eq.automsg( "0", "rc" ); +runMongoProgram( "mongod", "--repair", "--directoryperdb", "--port", port, "--dbpath", dbpath, "--repairpath", repairpath, "--nohttpinterface", "--bind_ip", "127.0.0.1" ); m = startMongoProgram( "mongod", "--directoryperdb", "--port", port, "--dbpath", dbpath, "--repairpath", repairpath, "--nohttpinterface", "--bind_ip", "127.0.0.1" ); db = m.getDB( baseName ); check(); stopMongod( port ); resetDbpath( repairpath ); -rc = runMongoProgram( "mongod", "--repair", "--directoryperdb", "--port", port, "--dbpath", dbpath, "--nohttpinterface", "--bind_ip", "127.0.0.1" ); -assert.eq.automsg( "0", "rc" ); +runMongoProgram( "mongod", "--repair", "--directoryperdb", "--port", port, "--dbpath", dbpath, "--nohttpinterface", "--bind_ip", "127.0.0.1" ); m = startMongoProgram( "mongod", "--directoryperdb", "--port", port, "--dbpath", dbpath, "--nohttpinterface", "--bind_ip", "127.0.0.1" ); db = m.getDB( baseName ); check(); |