From 2c1facf471cce8254e314755c3c7d2fbc753e5f4 Mon Sep 17 00:00:00 2001 From: Siyuan Zhou Date: Wed, 29 Jul 2015 18:02:37 -0400 Subject: SERVER-18498 New replica set configurations have protocolVersion=1 by default --- jstests/tool/dumprestore10.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jstests/tool') diff --git a/jstests/tool/dumprestore10.js b/jstests/tool/dumprestore10.js index f59b131bb05..858032827a7 100644 --- a/jstests/tool/dumprestore10.js +++ b/jstests/tool/dumprestore10.js @@ -33,7 +33,7 @@ step("mongodump from replset"); var data = MongoRunner.dataDir + "/dumprestore10-dump1/"; -runMongoProgram( "mongodump", "--host", "127.0.0.1:"+replTest.ports[0], "--out", data ); +runMongoProgram( "mongodump", "--host", "127.0.0.1:"+master.port, "--out", data ); { @@ -48,7 +48,7 @@ runMongoProgram( "mongodump", "--host", "127.0.0.1:"+replTest.ports[0], "--out", step("try mongorestore with write concern"); -runMongoProgram( "mongorestore", "--writeConcern", "2", "--host", "127.0.0.1:"+replTest.ports[0], "--dir", data ); +runMongoProgram( "mongorestore", "--writeConcern", "2", "--host", "127.0.0.1:"+master.port, "--dir", data ); var x = 0; -- cgit v1.2.1