diff options
author | Irina Yatsenko <irina.yatsenko@mongodb.com> | 2021-06-22 18:05:09 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-06-29 07:06:40 +0000 |
commit | fd8bca36f6479ede90e98b34ca3110044e50cb0c (patch) | |
tree | dc93c708216a47a8db2c8624198a5f8e72583dd3 /jstests/replsets/read_committed.js | |
parent | 3ed0deecaa0e5b586d12d894f3652080c4f81b43 (diff) | |
download | mongo-fd8bca36f6479ede90e98b34ca3110044e50cb0c.tar.gz |
SERVER-57460 Remove remaining GLE calls from jstests
Diffstat (limited to 'jstests/replsets/read_committed.js')
-rw-r--r-- | jstests/replsets/read_committed.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/replsets/read_committed.js b/jstests/replsets/read_committed.js index 1774ce9e9d9..33b3ff31c01 100644 --- a/jstests/replsets/read_committed.js +++ b/jstests/replsets/read_committed.js @@ -159,7 +159,8 @@ for (var testName in testCases) { // Restart oplog application on the secondary and ensure the committed view is updated. restartServerReplication(secondary); - coll.getDB().getLastError("majority", 60 * 1000); + replTest.awaitLastOpCommitted(); + assert.eq(doCommittedRead(coll), test.expectedAfter); assert.neq(readLatestOplogEntry('majority').ts, initialOplogTs); |