summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod/ttl_repl_secondary_disabled.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthroughWithMongod/ttl_repl_secondary_disabled.js')
-rw-r--r--jstests/noPassthroughWithMongod/ttl_repl_secondary_disabled.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthroughWithMongod/ttl_repl_secondary_disabled.js b/jstests/noPassthroughWithMongod/ttl_repl_secondary_disabled.js
index f1c33f448f7..bf9317aad95 100644
--- a/jstests/noPassthroughWithMongod/ttl_repl_secondary_disabled.js
+++ b/jstests/noPassthroughWithMongod/ttl_repl_secondary_disabled.js
@@ -6,7 +6,7 @@ var rt = new ReplSetTest( { name : "ttl_repl" , nodes: 2 } );
// setup set
var nodes = rt.startSet();
rt.initiate();
-var master = rt.getMaster();
+var master = rt.getPrimary();
rt.awaitSecondaryNodes();
var slave1 = rt.getSecondary();