Skip to content

Commit 6dea392

Browse files
sync tests
1 parent a5bf2da commit 6dea392

9 files changed

+1271
-859
lines changed

test/spec/read-write-concern/README.rst

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,7 @@ Operation
5757

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

60-
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:
61-
62-
- ``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:
63-
64-
.. code:: c
65-
66-
/* Create a default write concern, and set on a collection object. */
67-
mongoc_write_concern_t *wc = mongoc_write_concern_new ();
68-
mongoc_collection_set_write_concern (collection, wc);
69-
70-
If the driver has no way to explicitly set a default write concern on a database or collection, ignore the empty ``writeConcern`` document and continue with the test.
71-
- The operations ``createIndex``, ``dropIndex`` are introduced.
72-
60+
The tests utilize the `Unified Test Format <../../unified-test-format/unified-test-format.md>`__.
7361

7462
Use as unit tests
7563
=================

0 commit comments

Comments
 (0)