summaryrefslogtreecommitdiff
path: root/jstests/disk/repair2.js
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2014-10-16 10:09:49 -0400
committerBenety Goh <benety@mongodb.com>2014-10-16 10:14:43 -0400
commitcacbfa2f82ee3ffe5513e727542d513d3f98ac1c (patch)
treebb981514368ebe6b3fba0527d67eeb44ade58240 /jstests/disk/repair2.js
parentb6a2b0a9c98e29f77ce5cc314ed6906aec154885 (diff)
downloadmongo-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.js6
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();