summaryrefslogtreecommitdiff
path: root/jstests/dur/dur2.js
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2013-09-25 21:59:42 -0400
committerBenety Goh <benety@mongodb.com>2013-10-29 13:11:41 -0400
commit2e10439eba106c1edd57522f6c549fccb245b1a0 (patch)
tree2425a68d08875802bdbdcafe8399260d2924ac83 /jstests/dur/dur2.js
parent1361ad0eacf7b924226d71aaab12e6f62e76e476 (diff)
downloadmongo-2e10439eba106c1edd57522f6c549fccb245b1a0.tar.gz
SERVER-9579 fixed dbpath prefix for all smoke tests that start (multiple) mongod processes through the mongo shell
Diffstat (limited to 'jstests/dur/dur2.js')
-rw-r--r--jstests/dur/dur2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/dur/dur2.js b/jstests/dur/dur2.js
index 042e7e1d827..25cf8b1ccb2 100644
--- a/jstests/dur/dur2.js
+++ b/jstests/dur/dur2.js
@@ -65,7 +65,7 @@ if( debugging ) {
}
// directories
-var path = "/data/db/" + testname+"dur";
+var path = MongoRunner.dataPath + testname+"dur";
log("run mongod with --dur");
conn = startMongodEmpty("--port", 30001, "--dbpath", path, "--dur", "--smallfiles", "--durOptions", /*DurParanoid*/8, "--master", "--oplogSize", 64);