summaryrefslogtreecommitdiff
path: root/jstests/replsets/rollback2.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/rollback2.js')
-rw-r--r--jstests/replsets/rollback2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/rollback2.js b/jstests/replsets/rollback2.js
index 1cbf8194880..5f26e542c59 100644
--- a/jstests/replsets/rollback2.js
+++ b/jstests/replsets/rollback2.js
@@ -133,7 +133,7 @@ load("jstests/replsets/rslib.js");
conns[1].reconnect(conns[2]);
conns[0].reconnect(conns[1]);
- awaitOpTime(b.getMongo(), getLatestOp(a_conn).ts);
+ awaitOpTime(b_conn, a_conn);
// await steady state and ensure the two nodes have the same contents
replTest.awaitSecondaryNodes();