diff options
Diffstat (limited to 'jstests/noPassthrough/apply_ops_DDL_operation_does_not_take_global_X.js')
-rw-r--r-- | jstests/noPassthrough/apply_ops_DDL_operation_does_not_take_global_X.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/apply_ops_DDL_operation_does_not_take_global_X.js b/jstests/noPassthrough/apply_ops_DDL_operation_does_not_take_global_X.js index 3e855455985..e6191f97449 100644 --- a/jstests/noPassthrough/apply_ops_DDL_operation_does_not_take_global_X.js +++ b/jstests/noPassthrough/apply_ops_DDL_operation_does_not_take_global_X.js @@ -29,7 +29,7 @@ assert.commandWorked(secondary.getDB("admin").runCommand( {configureFailPoint: "waitInFindBeforeMakingBatch", mode: "alwaysOn"})); const findWait = startParallelShell(function() { - db.getMongo().setSlaveOk(); + db.getMongo().setSecondaryOk(); assert.eq( db.getSiblingDB('read').getCollection('readColl').find().comment('read hangs').itcount(), 1); |