diff options
Diffstat (limited to 'jstests/sharding/linearizable_read_concern.js')
-rw-r--r-- | jstests/sharding/linearizable_read_concern.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/linearizable_read_concern.js b/jstests/sharding/linearizable_read_concern.js index 9b3ac62acce..d83362a898c 100644 --- a/jstests/sharding/linearizable_read_concern.js +++ b/jstests/sharding/linearizable_read_concern.js @@ -91,7 +91,7 @@ jsTestLog("Testing linearizable read from primaries."); // Execute a linearizable read from primaries (targeting both shards) which should succeed. st.s.setReadPref("primary"); -var res = assert.writeOK(testDB.runReadCommand({ +var res = assert.commandWorked(testDB.runReadCommand({ find: collName, sort: {x: 1}, filter: dualShardQueryFilter, |