summaryrefslogtreecommitdiff
path: root/jstests/replsets/two_initsync.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/two_initsync.js')
-rwxr-xr-xjstests/replsets/two_initsync.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/two_initsync.js b/jstests/replsets/two_initsync.js
index 08e440406cb..603625df975 100755
--- a/jstests/replsets/two_initsync.js
+++ b/jstests/replsets/two_initsync.js
@@ -54,7 +54,7 @@ doTest = function (signal) {
return result['ok'] == 1;
});
- var a = replTest.getMaster().getDB("two");
+ var a = replTest.getPrimary().getDB("two");
for (var i = 0; i < 20000; i++)
a.coll.insert({ i: i, s: "a b" });