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.
8484# ## 1.0 Write concern not inherited from collection object inside transaction.
8585
8686- 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
8788- Start a new session on the client.
8889- Start a transaction on the session.
8990- 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
9092- Insert the document `{ n: 1 }` on the instantiated collection.
9193- Commit the transaction.
9294- End the session.
9395- Ensure the document was inserted and no error was thrown from the transaction.
9496
9597# # Changelog
9698
99+ - 2025 - 03 - 27 : Clarify server versions and collection creation for prose test
97100- 2024 - 10 - 31 : Add test for PoolClearedError.
98101- 2024 - 02 - 15 : Migrated from reStructuredText to Markdown.
99102- 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