diff options
-rw-r--r-- | jstests/replsets/rollback_all_op_types.js | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/jstests/replsets/rollback_all_op_types.js b/jstests/replsets/rollback_all_op_types.js index 34670190577..cb1020dc4ad 100644 --- a/jstests/replsets/rollback_all_op_types.js +++ b/jstests/replsets/rollback_all_op_types.js @@ -245,22 +245,21 @@ assert.commandWorked(db.adminCommand({applyOps: opsToApply})); } }, - // TODO: Re-enable once SERVER-31300 is completed. - // { - // description: "opWithoutUUID", - // init: (db, collName) => { - // assert.commandWorked(db.createCollection(collName)); - // }, - // // In 3.6 only document CRUD operations are grouped into a single applyOps oplog - // // entry. - // op: (db, collName) => { - // let coll = db.getCollection(collName); - // let opsToApply = [ - // {op: "i", ns: coll.getFullName(), o: {_id: 0}}, - // ]; - // assert.commandWorked(db.adminCommand({applyOps: opsToApply})); - // } - // } + { + description: "opWithoutUUID", + init: (db, collName) => { + assert.commandWorked(db.createCollection(collName)); + }, + // In 3.6 only document CRUD operations are grouped into a single applyOps oplog + // entry. + op: (db, collName) => { + let coll = db.getCollection(collName); + let opsToApply = [ + {op: "i", ns: coll.getFullName(), o: {_id: 0}}, + ]; + assert.commandWorked(db.adminCommand({applyOps: opsToApply})); + } + } ] }; |