summaryrefslogtreecommitdiff
path: root/jstests/replsets/read_after_optime.js
diff options
context:
space:
mode:
authorHenrik Edin <henrik.edin@mongodb.com>2020-02-20 10:51:18 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-20 22:08:52 +0000
commitea3155b7d4b6c740d90340680a97a649504d40c3 (patch)
treea196360e3765e06262b53b73f03a91253d9cd410 /jstests/replsets/read_after_optime.js
parentca7d3f919a8466e2977fe3f865a7440b1f846c88 (diff)
downloadmongo-ea3155b7d4b6c740d90340680a97a649504d40c3.tar.gz
SERVER-46235 Fix various multiversion tests, if version 4.2 use text logs
Diffstat (limited to 'jstests/replsets/read_after_optime.js')
-rw-r--r--jstests/replsets/read_after_optime.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/read_after_optime.js b/jstests/replsets/read_after_optime.js
index 5759ac824b0..1df34e000ce 100644
--- a/jstests/replsets/read_after_optime.js
+++ b/jstests/replsets/read_after_optime.js
@@ -40,7 +40,7 @@ var runTest = function(testDB, primaryConn) {
var msg = 'Command on database ' + testDB.getName() +
' timed out waiting for read concern to be satisfied. Command:';
- if (isJsonLogNoConn()) {
+ if (isJsonLog(testDB.getMongo())) {
msg = new RegExp(
`Command on database {request_getDatabase} timed out waiting for read concern to be satisfied. Command:.*"attr":{"request_getDatabase":"${
testDB.getName()}",.*`);