summaryrefslogtreecommitdiff
path: root/jstests/disk
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2014-10-07 14:21:49 -0400
committerBenety Goh <benety@mongodb.com>2014-10-07 19:49:27 -0400
commitb95adf31a0dd25dd2fcc6a13b841415dbdfdbd9b (patch)
tree7a4e710b832f19ce0482642bb726ab7913fa2541 /jstests/disk
parent49e0c8c825fc54f69cf0eca3215a3abd9a860671 (diff)
downloadmongo-b95adf31a0dd25dd2fcc6a13b841415dbdfdbd9b.tar.gz
SERVER-15547 removed tests that rely on tools --dbpath option
Diffstat (limited to 'jstests/disk')
-rw-r--r--jstests/disk/directoryperdb.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/jstests/disk/directoryperdb.js b/jstests/disk/directoryperdb.js
index c14091cfdb2..dc21860caba 100644
--- a/jstests/disk/directoryperdb.js
+++ b/jstests/disk/directoryperdb.js
@@ -40,20 +40,6 @@ var backupDir = dbpath + "/backup_repairDatabase_0/";
checkDir( backupDir );
assert.eq( 1, db[ baseName ].count() , "C" );
-// tool test
-stopMongod( port );
-
-externalPath = MongoRunner.dataPath + baseDir + "_external/";
-
-runMongoProgram( "mongodump", "--dbpath", dbpath, "--directoryperdb", "--out", externalPath );
-resetDbpath( dbpath );
-runMongoProgram( "mongorestore", "--dbpath", dbpath, "--directoryperdb", "--dir", externalPath );
-m = startMongodTest(port, baseDir, true, {directoryperdb : "", nohttpinterface : "", bind_ip : "127.0.0.1"});
-db = m.getDB( baseName );
-checkDir( dbpath );
-assert.eq( 1, db[ baseName ].count() , "C" );
-assert( m.getDBs().totalSize > 0, "bad size calc" );
-
// drop db test
db.dropDatabase();
files = listFiles( dbpath );