Skip to content

Commit

Permalink
update.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikola committed Feb 1, 2024
1 parent b698c43 commit 0882a50
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 263 deletions.
246 changes: 0 additions & 246 deletions source/transactions/tests/legacy/update.yml

This file was deleted.

32 changes: 15 additions & 17 deletions source/transactions/tests/unified/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Please review the generated file, then remove this notice.

description: update
schemaVersion: '1.3'
schemaVersion: '1.9'
createEntities:
-
client:
Expand All @@ -24,10 +24,6 @@ createEntities:
session:
id: &session0 session0
client: *client0
-
session:
id: &session1 session1
client: *client0
runOnRequirements:
-
minServerVersion: '4.0'
Expand Down Expand Up @@ -218,17 +214,25 @@ tests:
-
description: 'collections writeConcern ignored for update'
operations:
-
object: testRunner
name: createEntities
arguments:
entities:
- collection:
id: &collection1 collection1
database: *database0
collectionName: *collection_name
collectionOptions:
writeConcern: { w: majority }
-
object: *session0
name: startTransaction
arguments:
writeConcern:
w: majority
-
object: *collection0
collectionOptions:
writeConcern:
w: majority
object: *collection1
name: updateOne
arguments:
session: *session0
Expand All @@ -244,10 +248,7 @@ tests:
upsertedCount: 1
upsertedId: 4
-
object: *collection0
collectionOptions:
writeConcern:
w: majority
object: *collection1
name: replaceOne
arguments:
session: *session0
Expand All @@ -260,10 +261,7 @@ tests:
modifiedCount: 1
upsertedCount: 0
-
object: *collection0
collectionOptions:
writeConcern:
w: majority
object: *collection1
name: updateMany
arguments:
session: *session0
Expand Down

0 comments on commit 0882a50

Please sign in to comment.