Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRIVERS-1709: Convert legacy transactions spec tests to unified test format #1502

Merged
merged 55 commits into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
70508e7
Remove JSON for legacy transaction tests
jmikola Feb 1, 2024
1d3730c
Batch convert legacy spec files
jmikola Feb 1, 2024
747f018
write-concern.yml
jmikola Feb 1, 2024
099a284
update.yml
jmikola Feb 1, 2024
4a9c3e2
transaction-options.yml and transaction-options-repl.yml
jmikola Feb 1, 2024
68d5d68
run-command.yml
jmikola Feb 1, 2024
d440a11
retryable-writes.yml
jmikola Feb 2, 2024
cefc1e0
retryable-commit.yml
jmikola Feb 2, 2024
0010252
retryable-commit-forbid_serverless.yml
jmikola Feb 2, 2024
fb29fc4
retryable-commit-errorLabels.yml
jmikola Feb 2, 2024
025f1fc
retryable-abort.yml
jmikola Feb 2, 2024
a556a10
retryable-abort-errorLabels.yml
jmikola Feb 2, 2024
0e35337
reads.yml
jmikola Feb 2, 2024
ce61627
read-pref.yml
jmikola Feb 2, 2024
9dd043a
read-concern.yml
jmikola Feb 2, 2024
043322f
pin-mongos.yml
jmikola Feb 2, 2024
9635b19
mongos-recovery-token.yml
jmikola Feb 2, 2024
be1814c
mongos-recovery-token-errorLabels.yml
jmikola Feb 2, 2024
31ecc33
retryable-commit-errorLabels.yml
jmikola Feb 2, 2024
9626891
retryable-commit-errorLabels-forbid_serverless.yml
jmikola Feb 2, 2024
afd0179
isolation.yml
jmikola Feb 5, 2024
c3ded5c
insert.yml
jmikola Feb 5, 2024
bcfb58f
findOneAndUpdate.yml
jmikola Feb 5, 2024
a39163c
findOneAndReplace.yml
jmikola Feb 5, 2024
2534af8
findOneAndDelete.yml
jmikola Feb 5, 2024
d953962
errors.yml
jmikola Feb 5, 2024
faf37c9
errors-client.yml
jmikola Feb 5, 2024
117ac97
error-labels.yml
jmikola Feb 5, 2024
3c08af5
error-labels-errorLabels.yml
jmikola Feb 5, 2024
d0451d6
error-labels-blockConnection.yml
jmikola Feb 5, 2024
83878ae
delete.yml
jmikola Feb 5, 2024
aaa54a8
create-index.yml
jmikola Feb 5, 2024
45248f7
create-collection.yml
jmikola Feb 5, 2024
28a02b7
count.yml
jmikola Feb 5, 2024
faeaf64
commit.yml
jmikola Feb 5, 2024
9b65ca4
causal-consistency.yml
jmikola Feb 5, 2024
a46724d
bulk.yml
jmikola Feb 5, 2024
1d1672e
abort.yml
jmikola Feb 1, 2024
ecda108
mongos-pin-auto-tests.py and mongos-pin-auto.yml
jmikola Feb 5, 2024
ea4905e
Reorder top-level fields
jmikola Feb 7, 2024
cf9d577
Consolidate $$unsetOrMatches
jmikola Feb 7, 2024
7810637
Consolidate document objects
jmikola Feb 7, 2024
88318f6
Consolidate $$exists
jmikola Feb 7, 2024
6332420
Consolidate $$sessionLsid
jmikola Feb 7, 2024
833905b
Consolidate $numberLong
jmikola Feb 7, 2024
a607f7d
Consolidate configureFailPoint times option
jmikola Feb 7, 2024
3d8eeed
Move legacy test format docs to separate file
jmikola Feb 7, 2024
6b87951
Remove unused session1 entities
jmikola Feb 7, 2024
4974021
Consolidate forbid_serverless using test-level runOnRequirements
jmikola Feb 7, 2024
881845b
Use int|long for all getMore cursor ID type checking
jmikola Feb 7, 2024
d6838fa
Consolidate $$type
jmikola Feb 7, 2024
492be89
Use lowercase read preference mode strings
jmikola Feb 12, 2024
19d4785
Generate JSON files
jmikola Feb 7, 2024
594454b
DRIVERS-2834: Prohibit LB topology for tests using targetedFailPoint
jmikola Feb 12, 2024
6ce87df
mdformat is very opinionated about wrap columns
jmikola Feb 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/client-side-encryption/tests/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ are true:
Spec Test Format
================

The spec tests format is an extension of `transactions spec tests <https://github.com/mongodb/specifications/blob/master/source/transactions/tests/README.rst>`_ with some additions:
The spec tests format is an extension of the `transactions spec legacy test format <https://github.com/mongodb/specifications/blob/master/source/transactions/tests/legacy-test-format.rst>`__ with some additions:

- A ``json_schema`` to set on the collection used for operations.

Expand Down
2 changes: 1 addition & 1 deletion source/read-write-concern/tests/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Operation

These tests check that the default write concern is omitted in operations.

The spec test format is an extension of `transactions spec tests <https://github.com/mongodb/specifications/blob/master/source/transactions/tests/README.rst>`_ with the following additions:
The spec test format is an extension of the `transactions spec legacy test format <https://github.com/mongodb/specifications/blob/master/source/transactions/tests/legacy-test-format.rst>`__ with the following additions:

- ``writeConcern`` in the ``databaseOptions`` or ``collectionOptions`` may be an empty document to indicate a `server default write concern <https://github.com/mongodb/specifications/blob/master/source/read-write-concern/read-write-concern.rst#servers-default-writeconcern>`_. For example, in libmongoc:

Expand Down
563 changes: 5 additions & 558 deletions source/transactions/tests/README.rst

Large diffs are not rendered by default.

570 changes: 570 additions & 0 deletions source/transactions/tests/legacy-test-format.rst

Large diffs are not rendered by default.

Loading
Loading