spec/spec_tests/data/transactions_api/commit.yml in mongo-2.9.2 vs spec/spec_tests/data/transactions_api/commit.yml in mongo-2.10.0.rc0
- old
+ new
@@ -1,18 +1,22 @@
runOn:
-
minServerVersion: "4.0"
topology: ["replicaset"]
+ -
+ minServerVersion: "4.1.8"
+ topology: ["sharded"]
database_name: &database_name "withTransaction-tests"
collection_name: &collection_name "test"
data: []
tests:
-
description: withTransaction commits after callback returns
+ useMultipleMongoses: true
operations:
-
name: withTransaction
object: session0
arguments:
@@ -89,9 +93,10 @@
# In this scenario, the callback commits the transaction originally started
# by withTransaction and starts a second transaction before returning. Since
# withTransaction only examines the session's state, it should commit that
# second transaction after the callback returns.
description: withTransaction commits after callback returns (second transaction)
+ useMultipleMongoses: true
operations:
-
name: withTransaction
object: session0
arguments: