Skip to content

Commit

Permalink
DRIVERS-1593: test.operations array may be empty
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikola committed Oct 31, 2024
1 parent 22f068a commit 6037735
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
description: "operation-empty_array"

schemaVersion: "1.0"

tests:
- description: "Empty operations array"
operations: []
5 changes: 3 additions & 2 deletions source/unified-test-format/unified-test-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -775,8 +775,7 @@ The structure of this object is as follows:

<span id="test_operations"></span>

- `operations`: Required array of one or more [operation](#operation) objects. List of operations to be executed for the
test case.
- `operations`: Required array of [operation](#operation) objects. List of operations to be executed for the test case.

<span id="test_expectEvents"></span>

Expand Down Expand Up @@ -3551,6 +3550,8 @@ other specs *and* collating spec changes developed in parallel or during the sam

## Changelog

- 2024-10-31: Test operations array may be empty.

- 2024-10-29: List more examples of root-level documents

- 2024-10-24: Document `namespace` option for `failCommand` fail point.
Expand Down

0 comments on commit 6037735

Please sign in to comment.