summaryrefslogtreecommitdiff
path: root/jstests/replsets/rollback_collMod_fatal.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/rollback_collMod_fatal.js')
-rw-r--r--jstests/replsets/rollback_collMod_fatal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/rollback_collMod_fatal.js b/jstests/replsets/rollback_collMod_fatal.js
index 03cde3e904c..0e44cf3fe9f 100644
--- a/jstests/replsets/rollback_collMod_fatal.js
+++ b/jstests/replsets/rollback_collMod_fatal.js
@@ -23,7 +23,7 @@ var b_conn = conns[1];
var AID = replTest.getNodeId(a_conn);
var BID = replTest.getNodeId(b_conn);
-replTest.waitForState(replTest.nodes[0], replTest.PRIMARY, 60 * 1000);
+replTest.waitForState(replTest.nodes[0], ReplSetTest.State.PRIMARY, 60 * 1000);
// get master and do an initial write
var master = replTest.getPrimary();