File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
source/transactions/tests Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -84,16 +84,19 @@ these tests do not run against a standalone server.
84
84
# ## 1.0 Write concern not inherited from collection object inside transaction.
85
85
86
86
- Create a MongoClient running against a configured sharded/ replica set / load balanced cluster.
87
+ - transactions require a 4.0 + server when non- sharded and 4.2 + when sharded
87
88
- Start a new session on the client.
88
89
- Start a transaction on the session.
89
90
- Instantiate a collection object in the driver with a default write concern of `{ w: 0 }` .
91
+ - Create the collection or ensure it exists before the insert
90
92
- Insert the document `{ n: 1 }` on the instantiated collection.
91
93
- Commit the transaction.
92
94
- End the session.
93
95
- Ensure the document was inserted and no error was thrown from the transaction.
94
96
95
97
# # Changelog
96
98
99
+ - 2025 - 03 - 27 : Clarify server versions and collection creation for prose test
97
100
- 2024 - 10 - 31 : Add test for PoolClearedError.
98
101
- 2024 - 02 - 15 : Migrated from reStructuredText to Markdown.
99
102
- 2024 - 02 - 07 : Converted legacy transaction tests to unified format and moved the legacy test format docs to a separate
You can’t perform that action at this time.
0 commit comments