summaryrefslogtreecommitdiff
path: root/jstests/disk/repair3.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/disk/repair3.js')
-rw-r--r--jstests/disk/repair3.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/disk/repair3.js b/jstests/disk/repair3.js
index 0c5748575b1..6b4997cc83c 100644
--- a/jstests/disk/repair3.js
+++ b/jstests/disk/repair3.js
@@ -39,7 +39,7 @@ if ( doIt ) {
}
check();
- stopMongod( port );
+ MongoRunner.stopMongod( port );
resetDbpath( repairpath );
rc = runMongoProgram( "mongod", "--nssize", "8", "--noprealloc", "--smallfiles", "--repair", "--port", port, "--dbpath", dbpath, "--repairpath", repairpath, "--nohttpinterface", "--bind_ip", "127.0.0.1" );
@@ -47,6 +47,6 @@ if ( doIt ) {
m = startMongoProgram( "mongod", "--nssize", "8", "--noprealloc", "--smallfiles", "--port", port, "--dbpath", dbpath, "--repairpath", repairpath, "--nohttpinterface", "--bind_ip", "127.0.0.1" );
db = m.getDB( baseName );
check();
- stopMongod( port );
+ MongoRunner.stopMongod( port );
} \ No newline at end of file