diff options
Diffstat (limited to 'jstests/core/views/views_all_commands.js')
-rw-r--r-- | jstests/core/views/views_all_commands.js | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/jstests/core/views/views_all_commands.js b/jstests/core/views/views_all_commands.js index 696e72fff80..e5f11d2c1b5 100644 --- a/jstests/core/views/views_all_commands.js +++ b/jstests/core/views/views_all_commands.js @@ -190,10 +190,17 @@ delete: {command: {delete: "view", deletes: [{q: {x: 1}, limit: 1}]}, expectFailure: true}, distinct: {command: {distinct: "view", key: "_id"}}, doTxn: { - command: {doTxn: [{op: "i", o: {_id: 1}, ns: "test.view"}]}, + command: { + doTxn: [{op: "i", o: {_id: 1}, ns: "test.view"}], + txnNumber: NumberLong("0"), + lsid: {id: UUID()} + }, expectFailure: true, - expectedErrorCode: - [ErrorCodes.CommandNotSupportedOnView, ErrorCodes.CommandNotSupported], + expectedErrorCode: [ + ErrorCodes.CommandNotSupportedOnView, + ErrorCodes.CommandNotSupported, + ErrorCodes.IllegalOperation + ], skipSharded: true, }, driverOIDTest: {skip: isUnrelated}, |