Skip to content

Commit 0068b92

Browse files
committed
minor: handle transactions-related versioned API spec tests
1 parent c14a5a9 commit 0068b92

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/test/spec/unified_runner/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ const SKIPPED_OPERATIONS: &[&str] = &[
4242
"listIndexNames",
4343
"listIndexes",
4444
"mapReduce",
45+
"startTransaction",
46+
"abortTransaction",
47+
"commitTransaction",
4548
"watch",
4649
];
4750

src/test/spec/unified_runner/operation.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ impl TestOperation for InsertMany {
318318
#[serde(rename_all = "camelCase", deny_unknown_fields)]
319319
pub(super) struct InsertOne {
320320
document: Document,
321+
session: Option<String>,
321322
#[serde(flatten)]
322323
options: Option<InsertOneOptions>,
323324
}

0 commit comments

Comments
 (0)