summaryrefslogtreecommitdiff
path: root/jstests/replsets/initial_sync4.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/replsets/initial_sync4.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/replsets/initial_sync4.js')
-rw-r--r--jstests/replsets/initial_sync4.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/initial_sync4.js b/jstests/replsets/initial_sync4.js
index 4637e2a428c..0b556fe0dfd 100644
--- a/jstests/replsets/initial_sync4.js
+++ b/jstests/replsets/initial_sync4.js
@@ -25,7 +25,7 @@ replTest.awaitReplication();
print("4. Bring up a new node");
ports = allocatePorts( 3 );
-basePath = "/data/db/" + basename;
+basePath = MongoRunner.dataPath + basename;
hostname = getHostName();
s = startMongodTest (ports[2], basename, false, {replSet : basename, oplogSize : 2} );