[SERVER-33423] Add unit-test coverage for autocommit parameter Created: 21/Feb/18  Updated: 29/Oct/23  Resolved: 22/Feb/18

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.7.3

Type: Task Priority: Major - P3
Reporter: Pavithra Vetriselvan Assignee: Pavithra Vetriselvan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-32880 Add autocommit parameter to transacti... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2018-02-26
Participants:

 Description   

In session_test.cpp, add a unit test which validates that specifying "autocommit" is only allowed at the beginning of a transaction. Make sure that if nothing is specified, the default value is set to true.



 Comments   
Comment by Pavithra Vetriselvan [ 22/Feb/18 ]

CR:

https://mongodbcr.appspot.com/187460004/

Comment by Githook User [ 22/Feb/18 ]

Author:

{'email': 'pavithra.vetriselvan@mongodb.com', 'name': 'Pavithra Vetriselvan'}

Message: SERVER-33423 Adds simple autocommit unit test
Branch: master
https://github.com/mongodb/mongo/commit/f3292e4dfe808eb195073fc6ad0b9e5d0b296852

Generated at Thu Feb 08 04:33:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.